Code Monkey home page Code Monkey logo

bs-youtube-recommendation-system's Introduction

Preview

preview.gif

Libraries required

Install dependencies from requirements.txt.

Directory structure

  • There is a directory called preprocessing. It is used to clean & preprocess the data.
  • The second directory is processing. It contains all the AI algorithms.
  • The third important directory is datasets. And it contains the csv files.
  • All the other directories are of Django.

How to run

  • Open the root directory of project in cmd.
  • Then run python preprocessing/Preprocessing.py. It will generate a new file called preprocessed.csv in datasets directory.
  • Now run the server using command python manage.py runserver.
  • Now open localhost link in browser with a port number given in cmd.
  • Now click on any video. A new page with that video will open.
  • Now scroll down a little bit. And you will see recommended videos.
  • You can also search videos. Or click on a particular tag to see recommendations.

Dataset

The dataset used is available here kaggle.com/datasnaek/youtube-new.

Columns

There are 16 different columns. Including video title, description, tags, likes, dislikes, number of comments etc.

Rows

There are over 40000 rows. But actually many rows are duplicated. Unique rows in the dataset is about 6000.

Process explanation

  • In preprocessing we use different techniques to clean the data. Like converting all textual data to lower case. Removing all special characters etc.
  • And in recommendation we use cosine similarity algorithm to match the similar word in tags of different videos.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.