Giter Site home page Giter Site logo

proqwest / content-based-recommendation-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devacusense/content-based-recommendation-system

0.0 1.0 0.0 12 KB

Content based recommendation system based on library surprise

Jupyter Notebook 91.02% Python 8.98%

content-based-recommendation-system's Introduction

content based recommendation system

Datmo Model

In this example, we'll build an implicit feedback recommender using the Movielens 100k dataset (http://grouplens.org/datasets/movielens/100k/). The code behind this example is available as a Jupyter notebook LightFM includes functions for getting and processing this dataset, so obtaining it is quite easy.

In particular, it prepares the sparse user-item matrices, containing positive entries where a user interacted with a item, and zeros otherwise. We have two such matrices, a training and a testing set. Both have around 1000 users and 1700 items. We'll train the model on the train matrix but test it on the test matrix.

Clone this model on your local machine with the Datmo CLI

 $ datmo clone shabazp/content-based-recommendation-system

Now you can run the set of commands below to better understand the advantages of converting a repository to a Datmo Model.

First you can check out all of the snapshots that have already been created by the user. This is equivalent to checking out the snapshots tab on Datmo except without the search and filter capabilities available on the GUI.

 $ datmo snapshot ls 

Once you have viewed all of the existing snapshots, you can start by running an experiment by simply running the notebook below which will run the Jupyter notebook and enable you to run piece of code to train the model.

 $ datmo task run "jupyter notebook" --port 888

After you're done, open another terminal or use the same one to create your first snapshot, by running the following command

 $ datmo snapshot create -m "my first snapshot"

Congrats! You have created your first snapshot and are ready to continue building on top of it. Check out more commands on our docs here.

Happy Building :)

content-based-recommendation-system's People

Contributors

shabazpatel avatar

Watchers

 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.