3. Content Based Recommendation System
Focus on properties of items.
Similarity of items is determined by measuring the similarity
in their properties.
For example in case of movies properties are genre, year of
release etc.
4. Collaborative Filtering
Focus on the relationship between users and items.
Similarity is determined by the similarity of the ratings of those
items by the users who have rated both items.
9. Alternating Least Square
Ratings Matrix is factorized into UserFactors and ItemFactors for
given rank.
Starts with random UserFactor and is optimized keeping
ItemFactor constant.
In next step ItemFactor is optimized keeping UserFactor constant.
Iterate above two steps.
10. Spark's Implementation
Block wise parallel :Users/products are partitioned into blocks
and join is based on blocks instead of individual user/product.
In-line Blocks
Out-line Blocks
In memory computation.