Skip to main content

A small library to compute fairness of recommender systems.

Project description

Recsyslearn

Test Status Documentation Status Library Version

A small library to compute fairness of recommender systems.

Features

  • Compute Novelty of a recommender system based on its recommendations list.

  • Compute Coverage of a recommender system based on its recommendations list.

  • Compute Entropy of a recommender system based on its recommendations list.

  • Compute Kullback-Leibler divergence of a recommender system based on its recommendations list and the wanted target representation.

  • Compute Mutual Information of a recommender system based on its recommendations list.

  • Segment an implicit or explicit dataset in groups based on the activity of the users or on the popularity of the items.

Known Issues

In this version of the library, the computation of the metrics for cross groups (user and item groups together) has not been implemented yet.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.4.0-alpha (2022-06-24)

  • First release on PyPI.

0.4.1 (2022-06-27)

  • Fixed novelty formula.

0.5.0 (2022-07-19)

  • Added a new item segmentation method, which gives a percentage score to the items based on their popularity.

  • More accurate docs, with a beautiful theme.

0.5.1 (2022-07-27)

  • Fixed mantissa problem with the sum of proportion in the segmentation part.

  • Improved code readability and tests coverage.

0.6.0 (2022-08-30)

  • Added accuracy computation with NDCG@k

1.0.0 (2022-12-21)

  • Added usage example

  • Breaking library refactor

  • Improved jobs’ workflows, linting and other developing stuffs

  • Fix typos in docs and functions

1.0.1 (2023-02-15)

  • Bump certifi from 2022.9.14 to 2022.12.7

  • Added compatibility with pyenv for contributors

  • Fixed segmentation based on interactions (now compatible with users)

  • Fixed number of supported groups for users’ activity (now could be three)

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

recsyslearn-1.0.1.tar.gz (33.3 kB view hashes)

Uploaded Source

Built Distribution

recsyslearn-1.0.1-py2.py3-none-any.whl (24.8 kB view hashes)

Uploaded Python 2 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