SlideShare a Scribd company logo
1 of 34
Movie Recommendation
Community Detection for Recommender System
MH8351 - Web Analytics Group Project
Agenda
Problem Statement
Introduction
Algorithms
Evaluation Criteria
Visualization
Interesting Findings
Community
Detection
Measure
Key and Central
Players
Visualization
Key Player
Identification
Applications
Future Work
Finally
Data description
Preprocessing
Feature extraction
Graph Construction
Data
Introduction
This is story of Annie –
A new Movieflix user
She just finished watching
Shrek and is thinking
Why does Movieflix keep recommending
animation movie. Just because I watched
Shrek doesn't mean I like only animation. It
would be nice to watch something else…
umm… maybe a period movie..
Can Movieflix read her
mind?
List Movies from community
List prominent movies from each genre
that the community has watched.
Identify community
Identify community with
those movies. Select
community with most
maximum matching list
basis.
Input Movie
List of movies Annie has
watched so far (minimum 1)
Mark key player
Identify central, keyplayers and
neighbor nodes in the
community.
Recommend
To Annie - Movies from
other genre preferred by
community
Probably – community detection
Most of the content based recommender system suffer from “cold start” and
“overspecialisation” problems. One way to deal with such problem is divide users into
communities, identify the community of a new user and then recommend movies that other
viewers in the same community have watched
Data Description
Raw Data – Two files – Movies and Ratings
Ratings.csv
Movies.csv
Source: Extract from movie review site
imdb (available publicly) – Movies mostly
from last decade
Data profile
All time classics like Forrest Gump
and Shawshank Redemption have
large number of review
Dominating genre in the whole mix
is Drama/Comedy/Thriller/Action
Distribution of number of reviews
per movie follows a exponential
distribution
Movies attracting most reviews
Prominent Genre Distribution of reviews counts
Graph Generation – Nodes Edges and its
meaning
Each movie is a node. Only movies between 30 and 180
reviews were considered
Node
01
Two movies are connected if a user reviewed both movies
positively and gave a score of more then 3 on a scale 1-5
Edge02
Number of common positive reviews. Only weights above
particular threshold were considered
Edge Weight03
Undirected and weighted
Nature of Graph04
The Mask / Comedy
The Lion King / Animation
100 common positive reviews
Raw Graph – Nothing but a hairball
Edge thickness denote weight
Node Size Denote Degree
Average degree = 7
Strongly connected
Diameter= 5
Community
Detection
First thing first – Identify type of network
Degree Distribution of
nodes indicates graph is
similar to scale free
network
The chart below compares the output from various community detection Algo. The algorithms are compared in terms of modularity
of resulting community cluster and efficiency of execution (CPU times)
Let’s get to work – Detect Communities
Modularity based method like leading eigenvector and Louvain worked well
Top Modularity
Score 0.52
Resulting Communities
Network has 3 Communities
Node size represent Centrality
Let’s see what the viewers groups are like
Drama King
Nerd Clan
Adventure Club
Insight 1 : Genre not a representation of viewer’s mindset
Drama King
Nerd Clan
Adventure Club
Each community has movies from
variety of genre. Demonstrates that the
approach to categorise a new user
based on genre could be misleading.
Insight 1: Consider for example the movie Shrek
Genre suggests it should be kids movie
However PG rating suggests otherwise,
a rating of PG usually means not suitable
for kids
Actually more popular among young adults.
Movie review database tells us the true story
Insight 2: Effect of all time hit movies - Expectation
Several reviews
All time hit movies get high number of reviews.
01
High Degree
Thus will have higher degree
03
Several shared reviews with other nodes
As a result, these movies will
share reviewers with large number of other movies02
Central nodes – Key players
These high degree nodes will the central to a community
and will uniquely characterize a community04
Insight 2: Effect of all time hit movies - Reality
1. All time hits only served to make
community detection difficult
2. Network of all time hits had following
characteristics:
a. All nodes had high degree
b. Poor modularity- 0.08
c. Well interconnected web- poor
centrality distinction
3. When these nodes were integrated with
overall network, the modularity of overall
network dropped significantly. These movies
were ultimately removed from the data mix.
Possible explanation of such behaviour – Almost
everyone have watched and liked all time hit
movies, regardless of their movie preferences. As a
result, data from these movies provide no
information on viewer’s choice.
Key Player
Identification
Drama King – Central Player
Centrality Measure = Node Betweenness
Drama King – Central Player
True lies have common fans with lot other
prominent movies of the community
Drama King – Key Players
Key Player Measure = Closeness Centrality
Top 6
Nerd Clan– Central Player
Centrality Measure = Node Betweenness
Nerd Clan– Central Player
Fargo connects to all movies with considerable
Centrality
Nerd Clan – Key Players
The community probably consists of lot of science
fiction lovers
Adventure Club – Central Movie
Adventure Club – Central Movie
List of all movies Gladiator shares fans with.
Genre ranges from thriller to animation to Action
Adventure Club – Key Players
Notice how America History turn out to be
a keyplayer even thought its degree is very low
Similarly Memento too is quite
representative of the community
American History shares fan only
with Lord of the Rings
and Memento
Lord of Rings in turn shares
fans with all prominent movies
of the group
Adventure Club – American History
Application and
More
List Movies from community
If “Shrek” is a keyplayer movie of the
community, Jackpot! Choose all
keyplayers(across genres). Otherwise,
choose movies that are neighbors to
“Shrek”.
Identify community
Identify communities has
the movie “Shrek”.
(Community Adventure
Club)
Input Movie
Annie has just watched 1
movie – “Shrek”
Mark key player
Mark keyplayer and central
movies of “Adventure Club”.
Recommend
To Annie – Recommend
chosen movie.
Recommended movies:
Gladiator (Period drama)
Lord of the Ring (Fantasy)
Pirates of Caribbean
(Fantasy)
Back to Annie’s problem
Future Work
1. Create overlapping communities
2. Each node should have a probability associated with it of
belonging to each of the community
3. Design accommodates hopping user better.
If user preference change over time, they can easily follow a
chain of movies into another community
4. Add more movies to network to broaden its scope
Thank You
Community Detection for
Recommender System

More Related Content

What's hot

Network measures used in social network analysis
Network measures used in social network analysis Network measures used in social network analysis
Network measures used in social network analysis Dragan Gasevic
 
[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systems[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systemsFalitokiniaina Rabearison
 
Social network analysis part ii
Social network analysis part iiSocial network analysis part ii
Social network analysis part iiTHomas Plotkowiak
 
Community detection algorithms
Community detection algorithmsCommunity detection algorithms
Community detection algorithmsAlireza Andalib
 
Introduction to Matrix Factorization Methods Collaborative Filtering
Introduction to Matrix Factorization Methods Collaborative FilteringIntroduction to Matrix Factorization Methods Collaborative Filtering
Introduction to Matrix Factorization Methods Collaborative FilteringDKALab
 
AI_ 8 Weak Slot and Filler Structure
AI_ 8 Weak Slot and Filler  StructureAI_ 8 Weak Slot and Filler  Structure
AI_ 8 Weak Slot and Filler StructureKhushali Kathiriya
 
Recommender systems: Content-based and collaborative filtering
Recommender systems: Content-based and collaborative filteringRecommender systems: Content-based and collaborative filtering
Recommender systems: Content-based and collaborative filteringViet-Trung TRAN
 
Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview. Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview. Doug Needham
 
Social Network Analysis power point presentation
Social Network Analysis power point presentation Social Network Analysis power point presentation
Social Network Analysis power point presentation Ratnesh Shah
 
Recommendation Systems Basics
Recommendation Systems BasicsRecommendation Systems Basics
Recommendation Systems BasicsJarin Tasnim Khan
 
Movie lens recommender systems
Movie lens recommender systemsMovie lens recommender systems
Movie lens recommender systemsKapil Garg
 
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...Xiaohan Zeng
 
Social Network Analysis
Social Network AnalysisSocial Network Analysis
Social Network AnalysisSujoy Bag
 
Scaling Big Data Cleansing
Scaling Big Data CleansingScaling Big Data Cleansing
Scaling Big Data CleansingZuhair khayyat
 
CS6010 Social Network Analysis Unit V
CS6010 Social Network Analysis Unit VCS6010 Social Network Analysis Unit V
CS6010 Social Network Analysis Unit Vpkaviya
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender SystemsLior Rokach
 

What's hot (20)

Network measures used in social network analysis
Network measures used in social network analysis Network measures used in social network analysis
Network measures used in social network analysis
 
[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systems[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systems
 
Social network analysis part ii
Social network analysis part iiSocial network analysis part ii
Social network analysis part ii
 
Community detection algorithms
Community detection algorithmsCommunity detection algorithms
Community detection algorithms
 
Introduction to Matrix Factorization Methods Collaborative Filtering
Introduction to Matrix Factorization Methods Collaborative FilteringIntroduction to Matrix Factorization Methods Collaborative Filtering
Introduction to Matrix Factorization Methods Collaborative Filtering
 
Session-Based Recommender Systems
Session-Based Recommender SystemsSession-Based Recommender Systems
Session-Based Recommender Systems
 
AI_ 8 Weak Slot and Filler Structure
AI_ 8 Weak Slot and Filler  StructureAI_ 8 Weak Slot and Filler  Structure
AI_ 8 Weak Slot and Filler Structure
 
3 Centrality
3 Centrality3 Centrality
3 Centrality
 
Recommender systems: Content-based and collaborative filtering
Recommender systems: Content-based and collaborative filteringRecommender systems: Content-based and collaborative filtering
Recommender systems: Content-based and collaborative filtering
 
Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview. Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview.
 
Social Network Analysis power point presentation
Social Network Analysis power point presentation Social Network Analysis power point presentation
Social Network Analysis power point presentation
 
Recommendation Systems Basics
Recommendation Systems BasicsRecommendation Systems Basics
Recommendation Systems Basics
 
Movie lens recommender systems
Movie lens recommender systemsMovie lens recommender systems
Movie lens recommender systems
 
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Social Network Analysis
Social Network AnalysisSocial Network Analysis
Social Network Analysis
 
Semantic Networks
Semantic NetworksSemantic Networks
Semantic Networks
 
Scaling Big Data Cleansing
Scaling Big Data CleansingScaling Big Data Cleansing
Scaling Big Data Cleansing
 
CS6010 Social Network Analysis Unit V
CS6010 Social Network Analysis Unit VCS6010 Social Network Analysis Unit V
CS6010 Social Network Analysis Unit V
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 

Similar to Community detection recommender system

Movie Recommendation System_final.pptx
Movie Recommendation System_final.pptxMovie Recommendation System_final.pptx
Movie Recommendation System_final.pptxSridharkadiri2
 
Online social network based object recommendation system
Online social network based object recommendation systemOnline social network based object recommendation system
Online social network based object recommendation systemSriram Patil
 
Movie Recommendation System - MovieLens Dataset
Movie Recommendation System - MovieLens DatasetMovie Recommendation System - MovieLens Dataset
Movie Recommendation System - MovieLens DatasetJagruti Joshi
 
End-to-end machine learning project in Arabic
End-to-end machine learning project in ArabicEnd-to-end machine learning project in Arabic
End-to-end machine learning project in ArabicAMR koura
 
Movie lens movie recommendation system
Movie lens movie recommendation systemMovie lens movie recommendation system
Movie lens movie recommendation systemGaurav Sawant
 
movieRecommendation_FinalReport
movieRecommendation_FinalReportmovieRecommendation_FinalReport
movieRecommendation_FinalReportSohini Sarkar
 
Introduction to recommender systems
Introduction to recommender systemsIntroduction to recommender systems
Introduction to recommender systemsRami Alsalman
 
CSTalks - Real movie recommendation - 9 Mar
CSTalks - Real movie recommendation - 9 MarCSTalks - Real movie recommendation - 9 Mar
CSTalks - Real movie recommendation - 9 Marcstalks
 
Collaborative Filtering
Collaborative FilteringCollaborative Filtering
Collaborative FilteringTayfun Sen
 
movie recommender system using vectorization and SVD tech
movie recommender system using vectorization and SVD techmovie recommender system using vectorization and SVD tech
movie recommender system using vectorization and SVD techUddeshBhagat
 
The Wisdom of the Few @SIGIR09
The Wisdom of the Few @SIGIR09The Wisdom of the Few @SIGIR09
The Wisdom of the Few @SIGIR09Xavier Amatriain
 
A Movie Broker Dashboard in PowerBI
A Movie Broker Dashboard in PowerBIA Movie Broker Dashboard in PowerBI
A Movie Broker Dashboard in PowerBILeo Salemann
 
Movie recommendation system using collaborative filtering system
Movie recommendation system using collaborative filtering system Movie recommendation system using collaborative filtering system
Movie recommendation system using collaborative filtering system Mauryasuraj98
 
1b genre lessons
1b genre lessons1b genre lessons
1b genre lessonspegsball
 
Toward Building a Content based Video Recommendation System Based on Low-leve...
Toward Building a Content based Video Recommendation System Based on Low-leve...Toward Building a Content based Video Recommendation System Based on Low-leve...
Toward Building a Content based Video Recommendation System Based on Low-leve...University of Bergen
 
Movie Recommendation System.pptx
Movie Recommendation System.pptxMovie Recommendation System.pptx
Movie Recommendation System.pptxCbra2
 
Recommendation Systems Roadtrip
Recommendation Systems RoadtripRecommendation Systems Roadtrip
Recommendation Systems RoadtripThe Real Dyl
 

Similar to Community detection recommender system (20)

Movie Recommendation System_final.pptx
Movie Recommendation System_final.pptxMovie Recommendation System_final.pptx
Movie Recommendation System_final.pptx
 
Collab filtering-tutorial
Collab filtering-tutorialCollab filtering-tutorial
Collab filtering-tutorial
 
Rich110final
Rich110finalRich110final
Rich110final
 
Online social network based object recommendation system
Online social network based object recommendation systemOnline social network based object recommendation system
Online social network based object recommendation system
 
Movie Recommendation System - MovieLens Dataset
Movie Recommendation System - MovieLens DatasetMovie Recommendation System - MovieLens Dataset
Movie Recommendation System - MovieLens Dataset
 
End-to-end machine learning project in Arabic
End-to-end machine learning project in ArabicEnd-to-end machine learning project in Arabic
End-to-end machine learning project in Arabic
 
Movie lens movie recommendation system
Movie lens movie recommendation systemMovie lens movie recommendation system
Movie lens movie recommendation system
 
movieRecommendation_FinalReport
movieRecommendation_FinalReportmovieRecommendation_FinalReport
movieRecommendation_FinalReport
 
Introduction to recommender systems
Introduction to recommender systemsIntroduction to recommender systems
Introduction to recommender systems
 
CSTalks - Real movie recommendation - 9 Mar
CSTalks - Real movie recommendation - 9 MarCSTalks - Real movie recommendation - 9 Mar
CSTalks - Real movie recommendation - 9 Mar
 
Collaborative Filtering
Collaborative FilteringCollaborative Filtering
Collaborative Filtering
 
movie recommender system using vectorization and SVD tech
movie recommender system using vectorization and SVD techmovie recommender system using vectorization and SVD tech
movie recommender system using vectorization and SVD tech
 
The Wisdom of the Few @SIGIR09
The Wisdom of the Few @SIGIR09The Wisdom of the Few @SIGIR09
The Wisdom of the Few @SIGIR09
 
A Movie Broker Dashboard in PowerBI
A Movie Broker Dashboard in PowerBIA Movie Broker Dashboard in PowerBI
A Movie Broker Dashboard in PowerBI
 
Movie recommendation system using collaborative filtering system
Movie recommendation system using collaborative filtering system Movie recommendation system using collaborative filtering system
Movie recommendation system using collaborative filtering system
 
1b genre lessons
1b genre lessons1b genre lessons
1b genre lessons
 
Entity Recommendations Using Hierarchical Knowledge Bases
Entity Recommendations Using Hierarchical Knowledge BasesEntity Recommendations Using Hierarchical Knowledge Bases
Entity Recommendations Using Hierarchical Knowledge Bases
 
Toward Building a Content based Video Recommendation System Based on Low-leve...
Toward Building a Content based Video Recommendation System Based on Low-leve...Toward Building a Content based Video Recommendation System Based on Low-leve...
Toward Building a Content based Video Recommendation System Based on Low-leve...
 
Movie Recommendation System.pptx
Movie Recommendation System.pptxMovie Recommendation System.pptx
Movie Recommendation System.pptx
 
Recommendation Systems Roadtrip
Recommendation Systems RoadtripRecommendation Systems Roadtrip
Recommendation Systems Roadtrip
 

Recently uploaded

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 

Recently uploaded (20)

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 

Community detection recommender system

  • 1. Movie Recommendation Community Detection for Recommender System MH8351 - Web Analytics Group Project
  • 2. Agenda Problem Statement Introduction Algorithms Evaluation Criteria Visualization Interesting Findings Community Detection Measure Key and Central Players Visualization Key Player Identification Applications Future Work Finally Data description Preprocessing Feature extraction Graph Construction Data
  • 4. This is story of Annie – A new Movieflix user She just finished watching Shrek and is thinking Why does Movieflix keep recommending animation movie. Just because I watched Shrek doesn't mean I like only animation. It would be nice to watch something else… umm… maybe a period movie.. Can Movieflix read her mind?
  • 5. List Movies from community List prominent movies from each genre that the community has watched. Identify community Identify community with those movies. Select community with most maximum matching list basis. Input Movie List of movies Annie has watched so far (minimum 1) Mark key player Identify central, keyplayers and neighbor nodes in the community. Recommend To Annie - Movies from other genre preferred by community Probably – community detection Most of the content based recommender system suffer from “cold start” and “overspecialisation” problems. One way to deal with such problem is divide users into communities, identify the community of a new user and then recommend movies that other viewers in the same community have watched
  • 7. Raw Data – Two files – Movies and Ratings Ratings.csv Movies.csv Source: Extract from movie review site imdb (available publicly) – Movies mostly from last decade
  • 8. Data profile All time classics like Forrest Gump and Shawshank Redemption have large number of review Dominating genre in the whole mix is Drama/Comedy/Thriller/Action Distribution of number of reviews per movie follows a exponential distribution Movies attracting most reviews Prominent Genre Distribution of reviews counts
  • 9. Graph Generation – Nodes Edges and its meaning Each movie is a node. Only movies between 30 and 180 reviews were considered Node 01 Two movies are connected if a user reviewed both movies positively and gave a score of more then 3 on a scale 1-5 Edge02 Number of common positive reviews. Only weights above particular threshold were considered Edge Weight03 Undirected and weighted Nature of Graph04 The Mask / Comedy The Lion King / Animation 100 common positive reviews
  • 10. Raw Graph – Nothing but a hairball Edge thickness denote weight Node Size Denote Degree Average degree = 7 Strongly connected Diameter= 5
  • 12. First thing first – Identify type of network Degree Distribution of nodes indicates graph is similar to scale free network
  • 13. The chart below compares the output from various community detection Algo. The algorithms are compared in terms of modularity of resulting community cluster and efficiency of execution (CPU times) Let’s get to work – Detect Communities Modularity based method like leading eigenvector and Louvain worked well Top Modularity Score 0.52
  • 14. Resulting Communities Network has 3 Communities Node size represent Centrality
  • 15. Let’s see what the viewers groups are like Drama King Nerd Clan Adventure Club
  • 16. Insight 1 : Genre not a representation of viewer’s mindset Drama King Nerd Clan Adventure Club Each community has movies from variety of genre. Demonstrates that the approach to categorise a new user based on genre could be misleading.
  • 17. Insight 1: Consider for example the movie Shrek Genre suggests it should be kids movie However PG rating suggests otherwise, a rating of PG usually means not suitable for kids Actually more popular among young adults. Movie review database tells us the true story
  • 18. Insight 2: Effect of all time hit movies - Expectation Several reviews All time hit movies get high number of reviews. 01 High Degree Thus will have higher degree 03 Several shared reviews with other nodes As a result, these movies will share reviewers with large number of other movies02 Central nodes – Key players These high degree nodes will the central to a community and will uniquely characterize a community04
  • 19. Insight 2: Effect of all time hit movies - Reality 1. All time hits only served to make community detection difficult 2. Network of all time hits had following characteristics: a. All nodes had high degree b. Poor modularity- 0.08 c. Well interconnected web- poor centrality distinction 3. When these nodes were integrated with overall network, the modularity of overall network dropped significantly. These movies were ultimately removed from the data mix. Possible explanation of such behaviour – Almost everyone have watched and liked all time hit movies, regardless of their movie preferences. As a result, data from these movies provide no information on viewer’s choice.
  • 21. Drama King – Central Player Centrality Measure = Node Betweenness
  • 22. Drama King – Central Player True lies have common fans with lot other prominent movies of the community
  • 23. Drama King – Key Players Key Player Measure = Closeness Centrality Top 6
  • 24. Nerd Clan– Central Player Centrality Measure = Node Betweenness
  • 25. Nerd Clan– Central Player Fargo connects to all movies with considerable Centrality
  • 26. Nerd Clan – Key Players The community probably consists of lot of science fiction lovers
  • 27. Adventure Club – Central Movie
  • 28. Adventure Club – Central Movie List of all movies Gladiator shares fans with. Genre ranges from thriller to animation to Action
  • 29. Adventure Club – Key Players Notice how America History turn out to be a keyplayer even thought its degree is very low
  • 30. Similarly Memento too is quite representative of the community American History shares fan only with Lord of the Rings and Memento Lord of Rings in turn shares fans with all prominent movies of the group Adventure Club – American History
  • 32. List Movies from community If “Shrek” is a keyplayer movie of the community, Jackpot! Choose all keyplayers(across genres). Otherwise, choose movies that are neighbors to “Shrek”. Identify community Identify communities has the movie “Shrek”. (Community Adventure Club) Input Movie Annie has just watched 1 movie – “Shrek” Mark key player Mark keyplayer and central movies of “Adventure Club”. Recommend To Annie – Recommend chosen movie. Recommended movies: Gladiator (Period drama) Lord of the Ring (Fantasy) Pirates of Caribbean (Fantasy) Back to Annie’s problem
  • 33. Future Work 1. Create overlapping communities 2. Each node should have a probability associated with it of belonging to each of the community 3. Design accommodates hopping user better. If user preference change over time, they can easily follow a chain of movies into another community 4. Add more movies to network to broaden its scope
  • 34. Thank You Community Detection for Recommender System