Master LLMs with our FREE course in collaboration with Activeloop & Intel Disruptor Initiative. Join now!

Publication

Build Your own Recommendation Engine-Netflix Demystified:Demo+Code
Machine Learning   Programming

Build Your own Recommendation Engine-Netflix Demystified: Demo+Code

Last Updated on November 18, 2020 by Editorial Team

Author(s): Ravi Shankar

An intro to recommender systems with live implementation

What should I watch this evening?

Tableau Public

Edit description

public.tableau.com

Image for post

Recommendation engine Interface working

Image for post

1st tray on Prime Video-Popular Content

Image for post

User-Based Collaborative filtering-Similar reccos for different movies

How I Got My Dream Job Of Getting Paid To Watch Netflix

“This is a very loaded question for someone who makes her living off loving films and TV shows-it’s akin to asking a…

www.fastcompany.com

Image for post

Iron Man 3 sample metatags

Image for post

Housefull 3 recommendations

Tableau Movies Data

Image for post

Recommendation engine WebApp

IMDb

Subsets of IMDb data are available for access to customers for personal and non-commercial use. You can hold local…

www.imdb.com.

Image for post

YouTube URL and Keywords
#Web Scraping Code
#Python Code for YouTube trailer:from bs4 import BeautifulSoup as bs
import requests
import pandas as pd
a=pd.read_csv("database_Indian.csv")
base = "https://www.youtube.com/results?search_query="
url=[]
for t in range(1,9140):
    try:
        qstring = a['originalTitle'][t]+' trailer'
        r = requests.get(base+qstring)
        page = r.text
        soup=bs(page,'html.parser')
        vids = soup.findAll('a',attrs={'class':'yt-uix-tile-link'})
        videolist=[]
        for v in vids:
            tmp = 'https://www.youtube.com' + v['href']
            videolist.append(tmp)
        videolist[1]
        print(t)
        print(videolist[1])
        url.append(videolist[1])
        time.sleep(10)
    except: 
        print('error')#For Keywords#
a4=db
c=NULL
for(i in 1:9140)
{tryCatch({
  url=paste0("https://www.imdb.com/title/",a4$tconst[i],"/keywords?ref_=tt_stry_kw")
  print(url)
  
  a1<-read_html(url)
  kw=as.character(html_nodes(a1,xpath='//*[@id="keywords_content"]/table'))
  
  b2=cbind(a4$tconst[i],as.character(kw))
  c=rbind(c,b2)
  print(i)
},
error=function(e){})
}

Build Your own Recommendation Engine-Netflix Demystified was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.

Published via Towards AI

Feedback ↓