Git Product home page Git Product logo

rbta-svg / recommender_systems_project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 26.71 MB

A recommender system project, to predict TV shows starting from a URM and ICM matrix dataset. The project passed all the annointed professor baselines.

License: MIT License

Python 8.36% HTML 72.56% Cython 3.50% Jupyter Notebook 15.59%
algorithm cython bprmf bprslim funksvd item-knn-recommender knn mseslim p3alpha polimi

recommender_systems_project's Introduction

Recommender System 2021 Challenge (Politecnico di Milano)

Goal

The application domain is TV programs recommendation. The datasets we provide contains both interactions between users and TV shows, as well as features related to the shows. The main goal of the competition is to discover which items (TV shows) a user will interact with. Each TV show (for instance, "The Big Bang Theory") can be composed by several episodes (for instance, episode 5, season 3). The goal of the recommender system is not recommend a specific episode, but to recommend the TV show.

Description

The datasets includes around 6.2M interactions, 13k users, 18k items (TV shows) and four feature categories: 8 genres, 213 channels, 113 subgenres and 358k events (episode ids). The training-test split is done via random holdout, 85% training, 15% test. The goal is to recommend a list of 10 potentially relevant items for each user. MAP@10 is used for evaluation. Any kind of python-written recommender system was allowed.

Solution

Several techniques have been tested, such as RP3 Beta, Matrix Factorization, SLIM, also merged through various methods to create hybrid models. Hyperparameter optimization techniques were also used to find the optimal parameters.

The best submission score was obtained using a SLIM ElasticNet, with the hyperparameters being optimized through a Bayesian search.

Final outcome are as follows:

  • Baselines: 12/12 passed
  • Public Leaderboard: 34/85 (MAP@10: 0.47699 - highest in the competition: 0.51098)
  • Private Leaderboard: 34/85 (MAP@10: 0.47727 - highest in the competition: 0.50966)

Please note that many of the implemented techniques were forked and modified from the competition repository. I would also like to thank Alessandro Sanvito, given that my discussions with him led to very fruitful improvements on the models.

Looking forward

Further experimenting with neural recommenders is to be done, for learning sake (the competition is already over). Please come back later!

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.