14
How the following Algorithms work • Clustering • Collaborative filtering : recommender systems • Multidimensional scaling • PCA (Principal Component Analysis)

Algorithms presentation

Embed Size (px)

Citation preview

Page 1: Algorithms presentation

How the following Algorithms work

• Clustering

• Collaborative filtering : recommender systems

• Multidimensional scaling

• PCA (Principal Component Analysis)

Page 2: Algorithms presentation

Esclusive clusteringAlg.clustering

• Version partitional clustering (Hartigan’s algorithm)

• Version k-mean (random initialization)

Page 3: Algorithms presentation

Versione partitional clustering (Hartigan’s alg.)

Page 4: Algorithms presentation

K-Means

Page 5: Algorithms presentation

Applications.

Page 6: Algorithms presentation

Collaborative filtering

• Given a set of users (or more in general objects), and/or preferences, forcast the behavior of the users.

• MovieLens dataset.• Item based CF

Page 7: Algorithms presentation

Applications

• Amazon : reccomending articles to users• Facebook : reccomending friends• Netflix : reccomending movies• Google : recomending .. anything

Page 8: Algorithms presentation

Multidimensional Scaling

Page 9: Algorithms presentation

Multidimensional Scaling 1

Page 10: Algorithms presentation

Multidimensional scaling 2-12.5 -12 -11.5 -11 -10.5 -10 -9.5

-16

-15.5

-15

-14.5

-14

-13.5

-13

-12.5

-12

-11.5

Series1

Page 11: Algorithms presentation

Multidimensional scaling 3: app

Page 12: Algorithms presentation

Dimensionality reduction

• PCA (Principal Component Analysis): eigenvectors decomposition.

• JAMA: Java Matrix library

Page 13: Algorithms presentation

Dimensionality reduction2 : app

• Eigenbehaviors: identifying structure in Routine.

• SNA: community affiliation

• PCA + Kmeans = Spectral Clustering: PCA continous sol. <=> discrete sol. k-means clustering

Page 14: Algorithms presentation

Dimesionality reduction3: app