Refresh

This website github.imc.re/DEIB-GECO/nmtf-web/commit/40a2e8e11797dfcccc4230d632628b449fd16af6 is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

Skip to content

Commit

Permalink
added movies case study
Browse files Browse the repository at this point in the history
  • Loading branch information
GiuseppeBocci committed Aug 30, 2023
1 parent 9850c92 commit 40a2e8e
Show file tree
Hide file tree
Showing 15 changed files with 297 additions and 0 deletions.
8 changes: 8 additions & 0 deletions case_study/ActorsToActors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Willem Dafoe Robert Pattinson
Willem Dafoe Kevin Bacon
Willem Dafoe Ewan McGregor
Amanda Seyfried Robert Pattinson
Amanda Seyfried Kevin Bacon
Octavia Spencer Ewan McGregor
Octavia Spencer Sandra Bullock
Amanda Seyfried Octavia Spencer
29 changes: 29 additions & 0 deletions case_study/MoviesToActors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
The Lighthouse Robert Pattinson
The Lighthouse Willem Dafoe
You should have left Kevin Bacon
You should have left Amanda Seyfried
Doctor Sleep Ewan McGregor
BirdBox Sandra Bullock
Ma Octavia Spencer
Mamma Mia! Amanda Seyfried
Letters to Juliet Amanda Seyfried
In Time Amanda Seyfried
Lovelave Amanda Seyfried
Footloose Kevin Bacon
Crazy, Stupid, Love Kevin Bacon
Good Time Robert Pattinson
Remember Me Robert Pattinson
Cosmopolis Robert Pattinson
Spider-Man Willem Dafoe
Aquaman Willem Dafoe
Van Gogh Willem Dafoe
The Florida Project Willem Dafoe
Trainspotting Ewan McGregor
Moulin Rouge! Ewan McGregor
Star Wars Ewan McGregor
The Blind Side Sandra Bullock
Miss Detective Sandra Bullock
Oceans 8 Sandra Bullock
Gravity Sandra Bullock
The shape of water Octavia Spencer
The Help Octavia Spencer
39 changes: 39 additions & 0 deletions case_study/MoviesToGenres.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
The Lighthouse Horror
You should have left Horror
Doctor Sleep Horror
BirdBox Horror
Ma Horror
Mamma Mia! Comedy
Mamma Mia! Romantic Comedy
Letters to Juliet Comedy
Letters to Juliet Romantic Comedy
In Time Sci-fi
Lovelave Drama
Footloose Comedy
Footloose Romantic Comedy
Crazy, Stupid, Love Comedy
Crazy, Stupid, Love Romantic Comedy
Good Time Drama
Good Time Action
Remember Me Romantic Comedy
Remember Me Drama
Cosmopolis Thriller
Cosmopolis Drama
Spider-Man Action
Aquaman Action
Van Gogh Drama
The Florida Project Drama
Trainspotting Drama
Moulin Rouge! Comedy
Moulin Rouge! Romantic Comedy
Moulin Rouge! Drama
Star Wars Action
Star Wars Sci-fi
The Blind Side Drama
Miss Detective Comedy
Miss Detective Romantic Comedy
Oceans 8 Action
Gravity Sci-fi
Gravity Drama
The shape of water Drama
The Help Drama
31 changes: 31 additions & 0 deletions case_study/UsersToGenres.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Anna Horror
Anna Thriller
Anna Action
Luca Drama
Luca Romantic Comedy
Luca Comedy
Francesco Thriller
Renato Drama
Renato Horror
Renato Thriller
Renato Romantic Comedy
Renato Comedy
Flavio Horror
Flavio Sci-fi
Flavio Thriller
Flavio Action
Anacleto Drama
Anacleto Comedy
Anacleto Romantic Comedy
Ilaria Thiller
Ilaria Action
Chiara Sci-fi
Chiara Action
Chiara Thriller
Chiara Drama
Serena Comedy
Serena Romantic Comedy
Serena Drama
Mario Horror
Mario Sci-fi
Mario Thriller
63 changes: 63 additions & 0 deletions case_study/UsersToMovies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
Anna The Lighthouse
Anna Doctor Sleep
Anna Ma
Anna Spider-Man
Anna Oceans 8
Luca Miss Detective
Luca Moulin Rouge!
Luca Mamma Mia!
Luca Van Gogh
Luca The Florida Project
Francesco Cosmopolis
Francesco In Time
Renato Lovelace
Renato Gravity
Renato The Help
Renato The shape of water
Renato Ma
Renato The Lighthouse
Renato Mean Girls
Renato Letters to Juliet
Renato Mamma Mia!
Flavio You should have left
Flavio The Lighthouse
Flavio Ma
Flavio Doctor Sleep
Flavio BirdBox
Flavio In Time
Flavio Star Wars
Flavio Gravity
Flavio Spider-Man
Flavio Aquaman
Flavio Oceans 8
Anacleto Footloose
Anacleto Trainspotting
Anacleto The shape of water
Anacleto Crazy, Stupid, Love
Anacleto Remember Me
Anacleto Van Gogh
Anacleto The Florida Project
Anacleto Lovelace
Ilaria Cosmopolis
Ilaria Good Time
Ilaria Star Wars
Chiara Star Wars
Chiara Aquaman
Chiara Gravity
Chiara The Help
Chiara The Blind Side
Serena Remember Me
Serena Miss Detective
Serena Mean Girls
Serena Crazy, Stupid, Love
Serena Mamma Mia!
Serena Letters to Juliet
Serena Footloose
Mario The Lighthouse
Mario Ma
Mario BirdBox
Mario Doctor Sleep
Mario You should have left
Mario In Time
Mario Cosmopolis
Mario Good Time
29 changes: 29 additions & 0 deletions case_study/graph_topology_kmeans.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#graph_topology.yaml file
---
integration.strategy: intersection
initialization: kmeans
metric: APS
number.of.iterations: 100
type.of.masking: fully_random
stop.criterion: relative_error
score.threshold: 0.5
ranks:
- dsname: movies
k: 5
graph.datasets:
- nodes.left: users
nodes.right: genres
filename: UsersToGenres.txt
main: 0
- nodes.left: users
nodes.right: movies
filename: UsersToMovies.txt
main: 1
- nodes.left: movies
nodes.right: actors
filename: MoviesToActors.txt
main: 0
- nodes.left: movies
nodes.right: genres
filename: MoviesToGenres.txt
main: 1
26 changes: 26 additions & 0 deletions case_study/graph_topology_kmeans_2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#graph_topology.yaml file
---
integration.strategy: intersection
initialization: kmeans
metric: APS
number.of.iterations: 200
type.of.masking: fully_random
stop.criterion: relative_error
score.threshold: 0.5
graph.datasets:
- nodes.left: users
nodes.right: genres
filename: UsersToGenres.txt
main: 0
- nodes.left: users
nodes.right: movies
filename: UsersToMovies.txt
main: 1
- nodes.left: movies
nodes.right: actors
filename: MoviesToActors.txt
main: 0
- nodes.left: movies
nodes.right: genres
filename: MoviesToGenres.txt
main: 1
27 changes: 27 additions & 0 deletions case_study/graph_topology_svd_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#graph_topology.yaml file
---
integration.strategy: intersection
initialization: svd
metric: APS
number.of.iterations: 100
type.of.masking: fully_random
stop.criterion: relative_error
score.threshold: 0.5
k_svd: 5
graph.datasets:
- nodes.left: users
nodes.right: genres
filename: UsersToGenres.txt
main: 0
- nodes.left: users
nodes.right: movies
filename: UsersToMovies.txt
main: 1
- nodes.left: movies
nodes.right: actors
filename: MoviesToActors.txt
main: 0
- nodes.left: movies
nodes.right: genres
filename: MoviesToGenres.txt
main: 0
35 changes: 35 additions & 0 deletions case_study/graph_topology_svd_2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#graph_topology.yaml file
---
integration.strategy: intersection
initialization: svd
metric: APS
number.of.iterations: 100
type.of.masking: fully_random
stop.criterion: relative_error
score.threshold: 0.5
ranks:
- dsname: movies
k: 5
- dsname: users
k: 10
- dsname: actors
k: 3
- dsname: genres
k: 5
graph.datasets:
- nodes.left: users
nodes.right: genres
filename: UsersToGenres.txt
main: 0
- nodes.left: users
nodes.right: movies
filename: UsersToMovies.txt
main: 1
- nodes.left: movies
nodes.right: actors
filename: MoviesToActors.txt
main: 0
- nodes.left: movies
nodes.right: genres
filename: MoviesToGenres.txt
main: 0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added case_study/results/APS_svd_RELATIVE_ERROR_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added case_study/results/APS_svd_RELATIVE_ERROR_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions case_study/results/your_results_kmeans_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Anacleto Mamma Mia! 0.5521479160810883
Anna In Time 0.5093657848418497
Chiara Ma 0.6041672387998268
Chiara The Lighthouse 0.60416162263411
Francesco Ma 0.5079585278884743
Francesco The Lighthouse 0.5079602577250371
3 changes: 3 additions & 0 deletions case_study/results/your_results_svd_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Flavio Cosmopolis 0.5425046807190408
Flavio Good Time 0.5930061928702267
Mario Gravity 0.640485703429494
1 change: 1 addition & 0 deletions case_study/results/your_results_svd_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mario Gravity 0.6506574734997079

0 comments on commit 40a2e8e

Please sign in to comment.