analyse
Prediction model based on Collaborative Filtering.
Implementation based on Implicit feedback as explained mathematically in http://yifanhu.net/PUB/cf.pdf
What this package does:
- Connects to a shop in Reaction Commerce and gets all shop data from the Cassandra database.
- Listens to all the view and buy events.
- Implements ALS through Collaborative filtering using appropriate data modeling.
- Returns an array of recommendations to the user.
Functions and API:
- Event listener which listens to view and buy events.
- Exposed recommender API endpoint which gives list of recommendations.
Routes:
- POST /event
- POST /query
Usage: