Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scikit-recommender

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scikit-recommender

A science toolkit for recommender systems

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

Scikit-Recommender

Scikit-Recommender is an open source library for researchers of recommender systems.

Highlighted Features

  • Various recommendation models
  • Parse arguments from command line and ini-style files
  • Diverse data preprocessing
  • Fast negative sampling
  • Fast model evaluation
  • Convenient record logging
  • Flexible batch data iterator

Installation

You have three ways to use Scikit-Recommender:

  1. Install from PyPI
  2. Install from Source
  3. Run without Installation

Install from PyPI

Binary installers are available at the Python package index and you can install the package from pip.

pip install scikit-recommender

Install from Source

Installing from source requires Cython and the current code works well with the version 0.29.20.

To build scikit-recommender from source you need Cython:

pip install cython==0.29.20

Then, the scikit-recommender can be installed by executing:

git clone https://github.com/ZhongchuanSun/scikit-recommender.git
cd scikit-recommender
python setup.py install

Run without Installation

Alternatively, You can also run the sources without installation. Please compile the cython codes before running:

git clone https://github.com/ZhongchuanSun/scikit-recommender.git
cd scikit-recommender
python setup.py build_ext --inplace

Usage

After installing or compiling this package, now you can run the run_skrec.py:

python run_skrec.py

You can also find examples in tutorial.ipynb.

Models

MMRecImplementationPaper  Publication  
MGCNPyTorchPenghang Yu, et al., Multi-View Graph Convolutional Network for Multimedia RecommendationACM MM 2023
BM3PyTorchXin Zhou, et al., Bootstrap Latent Representations for Multi-modal RecommendationWWW 2023
FREEDOMPyTorchXin Zhou, et al., A Tale of Two Graphs: Freezing and Denoising Graph Structures for Multimodal RecommendationACM MM 2023
SLMRecPyTorchZhulin Tao, et al., Self-supervised Learning for Multimedia RecommendationTMM 2022
LATTICEPyTorchJinghao Zhang, et al., Mining Latent Structures for Multimedia RecommendationACM MM 2021
RecommenderImplementationPaper  Publication  
SelfCFPyTorchXin Zhou, et al., SelfCF: A Simple Framework for Self-supervised Collaborative FilteringTORS 2023
LayerGCNPyTorchXin Zhou, et al., Layer-refined Graph Convolutional Networks for RecommendationICDE 2023
DENSPyTorchRiwei Lai, et al., Disentangled Negative Sampling for Collaborative FilteringWSDM 2023
LightGCLPyTorchXuheng Cai, et al., LightGCL: Simple Yet Effective Graph Contrastive Learning for RecommendationICLR 2023
SGATTensorFlow (1.14)Zhongchuan Sun, et al., Sequential Graph Collaborative FilteringInformation Sciences 2022
LightGCNPyTorchXiangnan He et al., LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation.SIGIR 2020
SRGNNTensorFlow (1.14)Shu Wu et al., Session-Based Recommendation with Graph Neural Networks.AAAI 2019
HGNPyTorchChen Ma et al., Hierarchical Gating Networks for Sequential Recommendation.KDD 2019
BERT4RecTensorFlow (1.14)Fei Sun et al., BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer.CIKM 2019
SASRecTensorFlow (1.14)Wangcheng Kang et al., Self-Attentive Sequential Recommendation.ICDM 2018
GRU4RecPlusTensorFlow (1.14)Balázs Hidasi et al., Recurrent Neural Networks with Top-k Gains for Session-based Recommendations.CIKM 2018
CaserPyTorchJiaxi Tang et al., Personalized Top-N Sequential Recommendation via Convolutional Sequence Embedding.WSDM 2018
MultiVAEPyTorchDawen Liang, et al., Variational Autoencoders for Collaborative Filtering.WWW 2018
TransRecPyTorchRuining He et al., Translation-based Recommendation.RecSys 2017
CMLTensorFlow (1.14)Cheng-Kang Hsieh et al., Collaborative Metric Learning.WWW 2017
CDAEPyTorchYao Wu et al., Collaborative Denoising Auto-Encoders for Top-n Recommender Systems.WSDM 2016
GRU4RecTensorFlow (1.14)Balázs Hidasi et al., Session-based Recommendations with Recurrent Neural Networks.ICLR 2016
AOBPRC/CythonSteffen Rendle et al., Improving Pairwise Learning for Item Recommendation from Implicit Feedback.WSDM 2014
FPMCPyTorchSteffen Rendle et al., Factorizing Personalized Markov Chains for Next-Basket Recommendation.WWW 2010
BPRMFPyTorchSteffen Rendle et al., BPR: Bayesian Personalized Ranking from Implicit Feedback.UAI 2009
PopPythonMake recommendations based on item popularity.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc