scientistmetrics : python library for model metrics
About scientistmetrics
scientistmetrics is a Python package for metrics and scoring : quantifying the quality of predictions
Why scientistmetrics?
Measure of association with categoricals variables
scientistmetrics provides the option for computing one of six measures of association between two nominal variables from the data given in a 2d contingency table:
- Chi - squard test : https://en.wikipedia.org/wiki/Chi-squared_test
- Cramer's V : https://en.wikipedia.org/wiki/Cram%C3%A9r%27s_V
- Tschuprow's T : https://en.wikipedia.org/wiki/Tschuprow%27s_T
- G-test : https://en.wikipedia.org/wiki/G-test
- Phi coefficient : https://en.wikipedia.org/wiki/Phi_coefficient
- Pearson contingence coefficient : https://www.statisticshowto.com/contingency-coefficient/
Classification metrics
scientistmetrics provides metrics for classification problem :
- accuracy score
- f1 score
- precision
- recall
- etc...
Regression metrics
scientistmetrics provides metrics for regression problem :
- Rsquared
- Adjusted Rsquared
- Mean squared error
- etc...
Powerset model
scientistmetrics provides a function that gives a set of all subsets model.
Notebook is availabled.
Installation
Dependencies
scientistmetrics requires :
python >=3.10
numpy >=1.26.4
pandas >=2.2.2
scikit-learn >=1.2.2
plotnine >=0.10.1
statsmodels >=0.14.0
scipy >=1.10.1
User installation
You can install scientistmetrics using pip :
pip install scientistmetrics
Author(s)
Duvérier DJIFACK ZEBAZE duverierdjifack@gmail.com
Metadata
Release files for scientistmetrics 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scientistmetrics-0.0.4.tar.gz | 1.3 MB | Without provenance | Details for scientistmetrics-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scientistmetrics-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for scientistmetrics-0.0.4-py3-none-any.whl |
Total release size: 1.4 MB
Release files / scientistmetrics-0.0.4.tar.gz
| Download URL | scientistmetrics-0.0.4.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fe1957c3e87fa730a6c5db6bb75904f6a73c7156fa64b00ee6f848e5ecd8ec5
|
|
BLAKE2b-256 checksum How to use checksums |
8be4c21c87dd6475a849e6abd3f3394f1ae99114291cd564542a66de081fc687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Release files / scientistmetrics-0.0.4-py3-none-any.whl
| Download URL | scientistmetrics-0.0.4-py3-none-any.whl |
|---|---|
| Size | 57.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75d20eb76e11f9d800d5ac0b4c4aae8d209d6c3451887f1c18c1936ba5e50f72
|
|
BLAKE2b-256 checksum How to use checksums |
69ffeceda4142805bf57b60830a28988d06deb99b9b1cd904a19400f1693ed03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Security for scientistmetrics 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.