Skip to main content

RecSysModels

Here we have implemented various Recommender System algorithms for implicit feedback and sequential recommendation. These algorithms are implemented in Python and TensorFlow. This package aims to provide clear, annotated, and efficient implementations of these algorithms along with wrapper classes and methods for easy experimentation and usage.

Implicit Feedback

This package focuses on recommendations based on sequential and implicit feedback. In these settings there is no explicit numerical rating of items by users - only the record of actions they have taken. Thus there is only observed positive feedback - if a user u has not interacted with item i, it could either be because they dislike the item (negative) or they merely have not come upon this item yet (positive).

The algorithms implemented here approach the implicit feedback recommendation problem from a pairwise ranking perspective, where we assume that an item a user has interacted with should be ranked higher than an item that the user has not yet interacted with.

Algorithms Implemented

Installation

RecSysModels is on PyPI, so you can install the package with pip:

$ pip install recsys_models

Dependencies

Sample Usage

See the sample_pipeline Jupyter Notebook for sample usage. In order to run this, you will need to download the MovieLens 1M Dataset released in 2003 by the wonderful folks at the GroupLens Lab at the University of Minnesota.

Interoperability

For interoperability, this package supports initializing a model with pretrained weights in the form of numpy arrays exported from models trained under other frameworks. Please see individual model files (e.g. BPR) for a description of trainable variables and their shapes.

This package is released under GNU GPLv3 by Shuyang Li

Metadata

Release files for recsys-models 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recsys-models 0.1.3
File Size Uploaded
recsys_models-0.1.3.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for recsys-models 0.1.3
File Interpreter ABI Platform
recsys_models-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 50.8 kB

Release files / recsys_models-0.1.3.tar.gz

Download URL recsys_models-0.1.3.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a89a3215d6a18b6359ad38d0ac0a20bc86afb0ab6148229584cb6c9d9298318a
BLAKE2b-256 checksum
How to use checksums
c07d2f0c1d0087e4516f5a053545c99f630f77570937550eeb6d5a76e285bce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6

Release files / recsys_models-0.1.3-py3-none-any.whl

Download URL recsys_models-0.1.3-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26c1051a862de7dd3d7311bb0e2f77a87ea19ad1d015c734aa248860618d208c
BLAKE2b-256 checksum
How to use checksums
a72b71697de0a0c30ab0341ee7d5ac132f25a708cf73327c05b18e89de1e921f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page