• Stars
    star
    116
  • Rank 302,139 (Top 6 %)
  • Language
    Python
  • Created almost 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A recommender system in PyTorch from scratch.

Neural Collaborative Filtering in PyTorch

This repository shows you how to implement a Recommender System in PyTorch from scratch.

Prepare the dataset

The file u.data is the one picked from MovieLens 100K archive. Run the following command to get the train and test split for the dataset.

python train_test_split.py

Run the Item Popularity Model

The following command runs the model and prints the metrics

python itempop.py

Run the deep learning based Model

The following command runs the model and prints the metrics

python MLP.py