Skip to main content

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

Documentation

PyPI

PyPi version

Requirements

  1. Python 3.9 or higher.

How to run

  1. Install poetry
  2. Install poetry-version-plugin

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recsys_metrics_polars-0.0.3.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

recsys_metrics_polars-0.0.3-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page