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
pip install torecsys
git clone https://github.com/p768lwy3/torecsys.git
python setup.py build
python setup.py install
git clone https://github.com/p768lwy3/torecsys.git
cd ./torecsys/doc
./make html
The complete documentation for ToR[e]cSys is avaiable via ReadTheDocs website.
Thank you for ReadTheDocs!!!
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
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
is another type of model to be used directly if the input
fields and features implemented in the papers are suitable for you:
(!!! To be confirmed)
load the movielens dataset, for example:
- Jasper Li - Developer
ToR[e]cSys is MIT-style licensed, as found in the LICENSE file.