A pyhon package for computing recomendations metrics based on polars dataframes
Project description
recsys-metrics-polars
Description
Python library for computing some metrics for recomendations systems based on polars
Available metrics:
- Precision at k
- Recall at k
- Average precision at k
- Mean average precision
PyPI
Requirements
- Python 3.9 or higher.
How to run
Install dependencies:
poetry install --only main --no-root
For development:
poetry install --only main,dev --no-root
For docs:
poetry install --only main,dev,doc --no-root
Tests
pytest ./tests
Doc building
Install XeTeX
sphinx-build -n -b html ./docs/source/ ./docs/build/
Project details
Release history Release notifications | RSS feed
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 recsys_metrics_polars-0.0.3.tar.gz
.
File metadata
- Download URL: recsys_metrics_polars-0.0.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.9.18 Linux/6.2.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b320f01337002f6a31318d171787072d1d4b0cb175e2720c490dc08885855ab |
|
MD5 | 0ed9c8cb35116d2a1b5a9f6e3ad7f842 |
|
BLAKE2b-256 | 1949b503185bb42def32e0660b2baac6bd23f881619a1e8224e521782c751408 |
File details
Details for the file recsys_metrics_polars-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: recsys_metrics_polars-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.9.18 Linux/6.2.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab1e35ae55d12c60ba6acb102d547d43e4f9ffe1bb05032dfc906228b0bdf933 |
|
MD5 | 06a585ee1c69a6d97270c39a5868b35f |
|
BLAKE2b-256 | f95ebfda9af85e34e6d10de45b7d569ef09e17979fa32b000c068e6ba1cefdcd |