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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for recsys_metrics_polars-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6b320f01337002f6a31318d171787072d1d4b0cb175e2720c490dc08885855ab
MD5 0ed9c8cb35116d2a1b5a9f6e3ad7f842
BLAKE2b-256 1949b503185bb42def32e0660b2baac6bd23f881619a1e8224e521782c751408

See more details on using hashes here.

File details

Details for the file recsys_metrics_polars-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for recsys_metrics_polars-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1e35ae55d12c60ba6acb102d547d43e4f9ffe1bb05032dfc906228b0bdf933
MD5 06a585ee1c69a6d97270c39a5868b35f
BLAKE2b-256 f95ebfda9af85e34e6d10de45b7d569ef09e17979fa32b000c068e6ba1cefdcd

See more details on using hashes here.

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