Skip to content

Movies and songs recommendation system in python to explain various recommendation algorithm. Finally implementing an algorithm used by Amazon,Netflix for recommendation called HYBRID RECOMMENDATION ALGORITHM

Notifications You must be signed in to change notification settings

aniket97verma/Recommendation-System

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recommendation-System

Movies and songs recommendation system in python to explain various recommendation algorithm. Finally implementing an algorithm used by Amazon,Netflix for recommendation called HYBRID RECOMMENDATION ALGORITHM

How to design a recommendation system?

Although machine learning (ML) is commonly used in building recommendation systems, it doesn’t mean it’s the only solution. There are many ways to build a recommendation system? simpler approaches, for example, we may have very few data, or we may want to build a minimal solution fast etc..

Assume that, for simpler video recommendation,In such that case, based on videos a user has watched, we can simply suggest same authors videos or same publications videos.

popularity based
classification based
collaborative filtering

i.Nearest neighbor

ii.Matrix factorization

  1. Popularity based:

Easiest way to build a recommendation system is popularity based, simply over all the products that are popular, So how to identify popular products, which could be identified by which are all the products that are bought most,

Example, In shopping store we can suggest popular dresses by purchase count.

  1. Classification based

Second way to build a recommendation system is classification model , In that use feature of both users as well as products in order to predict whether this product liked or not by the user.

When new users come, our classifier will give a binary value of that product liked by this user or not, In such a way that we can recommend a product to the user .

Eg:- using user features like Age, gender and product features like cost, quality and product history, based on this input our classifier will give a binary value user may like or not , based on that boolean we could recommend product to a customer

  1. Collaborative filtering:

collaborative filtering models which are based on assumption that people like things similar to other things they like, and things that are liked by other people with similar taste.

collaborative filtering models are two types,

I.Nearest neighbor - In these type of recommendation systems are recommending based on nearest neighbors, nearest neighbor approach used to find out either similar users or similar products.

It can be looked at two ways,

i.User based filtering - Find the users who have similar taste of products as the current user , similarity is based on purchasing behavior of the user, so based on the neighbor purchasing behavior we can recommend items to the current user.

ii.Item based filtering - Recommend Items that are similar to the item user bought,similarity is based on co-occurrences of purchases. Item A and B were purchased by both users X and Y then both are similar.

II.Matrix factorization - It is basically model based collaborative filtering and matrix factorization is the important technique in recommendation system.

Eg: - When a user gives feed back to a certain movie they saw (say they can rate from one to five), this collection of feedback can be represented in a form of a matrix. Where each row represents each users, while each column represents different movies. Obviously the matrix will be sparse since not everyone is going to watch every movies, (we all have different taste when it comes to movies).

  1. Hybrid Recommendation systems:

Hybrid Recommendation systems are combining collaborative and content-based recommendation can be more effective. Hybrid approaches can be implemented by making content-based and collaborative-based predictions separately and then combining them.

About

Movies and songs recommendation system in python to explain various recommendation algorithm. Finally implementing an algorithm used by Amazon,Netflix for recommendation called HYBRID RECOMMENDATION ALGORITHM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 88.7%
  • Python 11.3%