KernelA / recsys-metrics-polars

Home Page:https://kernela.github.io/recsys-metrics-polars/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recsys-metrics-polars

Description

Python library for computing some metrics for recomendations systems based on polars

Available metrics:

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,test --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/