Giter VIP home page Giter VIP logo

ncf-recommender-system's Introduction

NCF Recommender System with PyTorch

Welcome to the NCF Recommender System with PyTorch! In this project, An end-to-end Recommender System using an adjusted version of Neural Collaborative Filtering (NCF) with PyTorch. the model is trained on the MovieLens-1M dataset ๐ŸŽฅ, served using FastAPI, hosted on Streamlit ๐Ÿš€.

๐ŸŒŸ Try it out!

๐Ÿ““ Notebook on Kaggle

๐ŸŒ Overview

Adjusted NCF

  • Our adjusted architecture of NCF enables the input of the user/item features besides the user/item IDs.

  • Quick Reminder: A recommender system is not just a ranking model, but a pipeline consisting of: Items Retrieval, Filtering, Ranking, and Ordering. (Detailed explanation in the notebook)

๐Ÿ“š Project Structure

  • streamlit.py: Streamlit app to interact with the model.

  • app/:

    • main.py: The FastAPI app to serve the model.
    • model/:
      • utils/:
        • model.py: The NCF model.
        • utils.py: Utility functions for data processing.
        • requests.py: Request class to make API requests.
      • data/: Processed data for inference.
      • weights/: Pretrained models weights for inference.

๐Ÿ“– References

๐Ÿ’ก Contributing

Contributions are welcome! If you find a typo, want to add more content, or improve something, feel free to open an issue or submit a pull request.

Happy learning! ๐Ÿš€

ncf-recommender-system's People

Contributors

oyounis19 avatar

Stargazers

 avatar

Watchers

 avatar  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.