Skip to content

Calss 2: Spark ALS

Tara-Su edited this page Jun 23, 2020 · 23 revisions

What you should do before the class

  1. Please read the below materials

Spark AL sample code

Spark CFMF documentation

Matrix factorization techniques for recommender systems

Algorithmic Acceleration of Parallel ALS for Collaborative Filtering: Speeding up Distributed Big Data Recommendation in Spark

Large-Scale Parallel Collaborative Filtering for the Netflix Prize

  1. Please prepare the answers to the questions in the next session. Please use slides to convey your ideas when answering the questions. you can find the slides template at the home page

Please present the answer to the below questions

  • What is ALS? Is it different from the common CFMF? (10 minutes)
  • What's the difference between implicit and explicit data? How is Spark ALS treating them differently? (10 minutes)
  • What is cold start problem in recommendation engine? How can you deal with it? (10 minutes)
  • what are the major functions of the spark ALS API? (10 minutes)

Spark installation

Install on mac

Install on windows

Install on linux

Install on Azure Notebook

Set up spark in jupyter notebook

pyspark in jupyter

Create conda environment kernel in jupyter notebook

Clone this wiki locally