Python package for Top-N recommendation based on implicit feedback data.
Project description
RecPack
RecPack is an experimentation toolkit for top-N recommendation, using implicit feedback data written in Python, with a familiar interface and clear documentation. Its goal is to support researchers who advance the state-of-the-art in top-N recommendation to write reproducible and reusable experiments. RecPack comes with a range of different datasets, recommendation scenarios, state-of-the-art baselines and metrics. Wherever possible, RecPack sets sensible defaults. For example, hyperparameters of all recommendation algorithms included in RecPack are initialized to the best performing settings found in the original experiments. The design of RecPack is heavily inspired by the interface of scikit-learn, a popular Python package for classification, regression and clustering tasks. Data scientists who are familiar with scikit-learn will already have an intuitive understanding of how to work with RecPack. On top of this, RecPack was developed with a production mindset: All contributions are rigorously reviewed and tested. The RecPack maintainers strive to maintain a test coverage of more than ninety percent at all times.
Installation
All released versions of recpack are published on Pypi, and can be installed using:
pip install recpack
Documentation
Documentation and tutorials can be found at https://recpack.froomle.ai
Usage
RecPack provides a framework for experimentation with recommendation algorithms. It comes pre-packed with a number of commonly used evaluation scenarios (scenarios), evaluation metrics (metrics) and state-of-the-art algorithm implementations (algorithms). New algorithms and evaluation scenarios can be added easily, by subclassing the appropriate base classes. A number of lower level data splitters are provided that can be used to build up more complex evaluation scenarios.
Users can choose to use the Pipeline interface or manually connect components for running experiments. The Pipeline interface is recommended for easy comparison between algorithms. For optimal flexibility you should manually connect components.
For details and examples, check out the quickstart documentation
If you use RecPack for research purposes, please cite the paper.
@inproceedings{10.1145/3523227.3551472,
author = {Michiels, Lien and Verachtert, Robin and Goethals, Bart},
title = {RecPack: An(Other) Experimentation Toolkit for Top-N Recommendation Using Implicit Feedback Data},
year = {2022},
isbn = {9781450392785},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3523227.3551472},
doi = {10.1145/3523227.3551472},
booktitle = {Proceedings of the 16th ACM Conference on Recommender Systems},
pages = {648–651},
numpages = {4},
location = {Seattle, WA, USA},
series = {RecSys '22}
}
License
RecPack, An Experimentation Toolkit for Top-N Recommendation Copyright (C) 2020 Froomle N.V.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
A copy of the GNU Affero General Public License should be distributed along with this program. If not, see http://www.gnu.org/licenses/.
Address Froomle: Posthofbrug 6-8, 2600 Antwerpen-Berchem Contact Froomle: robin.verachtert[at]froomle.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file recpack-0.3.6.tar.gz
.
File metadata
- Download URL: recpack-0.3.6.tar.gz
- Upload date:
- Size: 165.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5da686f70159daea4a8a4da6489bd498bad3b9f99b14ee7dfd7ffc12c9e8643 |
|
MD5 | 66dc314e779e3a06d212c229e74d3b4d |
|
BLAKE2b-256 | 66544f61d28ee41df060ad56f0803ebce420ef552c80211a2545c07188c3dd7d |
File details
Details for the file recpack-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: recpack-0.3.6-py3-none-any.whl
- Upload date:
- Size: 255.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77e27fedbce2b2c7482cd2e7703b5e7f45dc3a2e390e53eec733b1394a3f8f36 |
|
MD5 | d498289b3c52f8e70908520fe91e21a3 |
|
BLAKE2b-256 | e58c1cff174e34d7a188eaaa97f7f6fec54e1c4a852096adf04fc3180815c6ba |