photo credit: pixabay

Building A Recommender System With Implicit Feedback Datasets Using Alternating Least Squares

Susan Li
5 min readJan 16, 2022

--

The Data

online_retail_data.py
Figure 1
clean_retail_data.py
Table 1
quantity_hist.py
Figure 2
retail_count.py
Figure 3

Implicit Feedback

online_retail_ALS.py

Example of Recommendation — Finding the Similar Items

grouped_df.loc[grouped_df['item_id'] == 1319].head()
Table 2
similar_item.py
Figure 4

Example of Recommendation — Recommend Items to Customers

RecSys_ALS_items.py
Figure 5
top20_purchase.py
Figure 6

--

--

Susan Li
Susan Li

Written by Susan Li

Changing the world, one post at a time. Sr Data Scientist, Toronto Canada. https://www.linkedin.com/in/susanli/

Responses (5)