GithubHelp home page GithubHelp logo

sta326_assignment3's Introduction

STA326 - Assignment 3

Overview

This assignment focuses on implementing and comparing three recommender system models—GMF, MLP, and NeuMF—based on the Neural Collaborative Filtering (NCF) framework as discussed in the referenced paper by He et al. (2017). The implementation will utilize the MovieLens dataset and will be evaluated using HR@10 and NDCG@10 metrics.

Requirements

  • Python 3.8 or later
  • PyTorch 1.8 or later
  • NumPy
  • Pandas
  • Matplotlib

Models

  • GMF (Generalized Matrix Factorization): A matrix factorization model enhanced with neural architecture.
  • MLP (Multi-Layer Perceptron): A deep learning model for learning user-item interaction functions.
  • NeuMF (Neural Matrix Factorization): Combines GMF and MLP under a shared framework for enhanced performance.

Usage

To run the models, execute the command like:

python run_models.py

This script will train the GMF, MLP, and NeuMF models on the MovieLens dataset and output the evaluation metrics HR@10 and NDCG@10 for each model.

Evaluation

After training, the models' performance can be evaluated by comparing HR@10 and NDCG@10 metrics. Additionally, you can reproduce the ablation study for the MLP model with different layers to observe the impact on performance.

Submission

Submit your assignment by creating a pull request to the specified GitHub repository. Ensure that your final submission includes:

  • All source code files
  • A one-page report detailing your results, submitted on Blackboard

References

  • He, Xiangnan, et al. "Neural collaborative filtering." Proceedings of the 26th international conference on world wide web. 2017.

sta326_assignment3's People

Contributors

sustech-sta326 avatar bulu04bulu 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.