ToR[e]cSys
ToR[e]cSys is a Python package which implementing famous recommendation system
algorithm in PyTorch, including Click-through-rate prediction, Learning-to-ranking,
and Items Embedding.
- Installation
- Implemented Models
- Documentation
- More About ToR[e]cSys
- Getting Started
- Examples
- Authors
- License
Installation
By pip package
pip install torecsys
From source
git clone https://github.com/p768lwy3/torecsys.git
python setup.py build
python setup.py install
Build Documentation
git clone https://github.com/p768lwy3/torecsys.git
cd ./torecsys/doc
./make html
Documentation
The complete documentation for ToR[e]cSys is avaiable via ReadTheDocs website.
Thank you for ReadTheDocs!!!
Implemented Models
More About ToR[e]cSys
Component | Description |
---|---|
[torecsys.data] | download sample data, build dataloader, and other functions for convenience |
[torecsys.estimators] | models with embedding, which can be trained with .fit(dataloader) directly |
[torecsys.functional] | functions used in recommendation system |
[torecsys.inputs] | inputs' functions, including embedding, image transformations |
[torecsys.layers] | layers-level implementation of algorithms |
[torecsys.losses] | loss functions used in recommendation system |
[torecsys.metrics] | metrics to evaluate recommendation system |
[torecsys.models] | whole-architecture of models which can be trained by torecsys.base.trainer |
[torecsys.utils] | little tools used in torecsys |
(!!! To be confirmed)
torecsys.models
torecsys.models
is a part of model excluding embedding part, so you can choose
a suitable embedding method for your model with the following codes:
torecsys.estimators
torecsys.estimators
is another type of model to be used directly if the input
fields and features implemented in the papers are suitable for you:
Getting Started
(!!! To be confirmed)
Load Sample data
load the movielens dataset, for example:
Build Dataset and DataLoader with Sample data
Use Estimators to train a model
Make prediction with estimators
Examples
Authors
- Jasper Li - Developer
License
ToR[e]cSys is MIT-style licensed, as found in the LICENSE file.