Giter Site home page Giter Site logo

jaeyow / matrix_factorization_recommender Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cevoaustralia/matrix_factorization_recommender

0.0 0.0 0.0 293 KB

End to end ML recommender using Matrix Factorization (for educational use only)

Python 33.30% Jupyter Notebook 66.58% Dockerfile 0.12%

matrix_factorization_recommender's Introduction

Matrix Factorization Recommender

This repo contains code to generate data and train an ML recommender using a Matrix Factorization library called implicit

  • we have identified that we can leverage the Alternating Least Squares (ALS) algorithm to build this recommender system as described in the paper Collaborative Filtering for Implicit Feedback Datasets.

  • We will generate our own dataset similar to the method used in Cevo Shopping Demo

  • Our dataset does not have any rating information (dataset does not have explicit feedback), so we will use the implicit feedback method to generate the recommendations.

  • There is a python library called implicit which implements this algorithm as defined in the paper. We will use this library instead of implementing the algorithm from scratch.

  • This model is online serving (meaning that the predictions are done in real time), and because we are hosting this model in a serverless in AWS Lambda, it may not be grunty enough for a larger dataset.

  • The MLOps pipeline, we're using Metaflow in this project, will take care of model building, hyperparameter tuning, model evaluation, then model serving. We will deploy the model in a Lambda function, and we will use the API Gateway to expose the model as an API endpoint.

Tech Stack

  • GitHub Actions
  • Metaflow
  • AWS S3
  • Comet ML for experiment tracking
  • SAM for Lambda deployment
  • GridSearch CV (or manual grid search)
  • Model Registry (?)
  • Feature Store (?)

To run:

  1. python recommender.py show
  2. python recommender.py run

matrix_factorization_recommender's People

Contributors

jaeyow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.