semvec/pypi-packages huggingface dataset:
fast-stats 1.3.2
A fast and simple library for calculating basic statistics
License: Apache 2.0
Requires Python: >=3.7
Keywords: numpy,stats,rust,fast

![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/zachcoleman/fast-stats/tests.yml?branch=main)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fast-stats)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/fast-stats)
[![License](https://img.shields.io/badge/license-Apache2.0-green)](./LICENSE)

# fast-stats
`fast-stats` is a fast and simple library for calculating basic statistics such as: precision, recall, and f1-score. The library also supports the calculation of confusion matrices. For examples, please look at the `examples/` folder.

The project was developed using the [maturin](https://maturin.rs) framework.

See docs here: https://zachcoleman.github.io/fast-stats/

## Installation
From PyPI:
```shell
pip install fast-stats
```

Build from source:
```
maturin build -r -i=path/to/python
pip install .../fast-stats/target/wheels/<whl file name>.whl
```

## Running Tests
Tests are run with `pytest`.