Skip to content

Commit

Permalink
Multiclass Statistics Added (#12)
Browse files Browse the repository at this point in the history
* updating project metadata

* fixing CI yaml

* using venv

* trying again

* redoing CI

* fixing tests

* changing some settings

* updates

* fixing build

* trying to fix this

* fixing release

* bumping version

* better code organization

* updates

* adding initial cm impl

* adding unique, dispatching pattern to Py objects, renaming ext

* rustfmt

* cm dispatched

* rustfmt

* tests and benchmarks added

* bump version

* 100% test coverage

* updating readme

* Threading enabled (#9)

* bumping version

* major refactor leveraging macros

* bumping version and updating test

* adding executed notebook

* fixing performance w/ bool

* multiclass implemented and tested ready for 1.0.0
  • Loading branch information
zachcoleman authored May 29, 2022
1 parent 6fee6d7 commit 8c13e95
Show file tree
Hide file tree
Showing 14 changed files with 1,128 additions and 66 deletions.
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[flake8]
max-line-length = 88
per-file-ignores=
**/__init__.py:F401
**/__init__.py:F401
**/*.py:E731
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fast-stats"
version = "0.0.6"
version = "1.0.0"
edition = "2021"

[lib]
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@
[![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 multi-class confusion matrices.
`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 `benchmarks/` folder.

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

This project is still in development.
The project was developed using the [maturin](https://maturin.rs) framework.

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

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

0 comments on commit 8c13e95

Please sign in to comment.