Python package for metrics and scoring : quantifying the quality of predictions
Project description
scientistmetrics
About scientistmetrics
scientistmetrics is a Python
package for calculating correlation amongst categorical variables.
Why scientistmetrics?
The function provides the option for computing one of six measures of association between two nominal variables from the data given in a 2d contingency table:
- Pearson's chi-squared test : https://en.wikipedia.org/wiki/Pearson%27s_chi-squared_test
- Phi coefficient : https://en.wikipedia.org/wiki/Phi_coefficient
- G-test: https://en.wikipedia.org/wiki/G-test
- Cramer's V : https://en.wikipedia.org/wiki/Cramer's_V
- Tschuprow's T : https://en.wikipedia.org/wiki/Tschuprow's_T
- Pearson contingency coefficient : https://www.statisticshowto.com/contingency-coefficient/
Notebook is availabled.
Installation
Dependencies
scientistmetrics requires :
Python >=3.10
Numpy >=1.23.5
Pandas >=1.5.3
Plotnine >=0.10.1
Scipy >=1.10.1
User installation
You can install scientistmetrics using pip
:
pip install scientistmetrics
Author
Duvérier DJIFACK ZEBAZE
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
Built Distribution
File details
Details for the file scientistmetrics-0.0.3.tar.gz
.
File metadata
- Download URL: scientistmetrics-0.0.3.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5505ae55fed34790571a28dceb82f0a31f3f72d5baa7782835aa0f3def040197 |
|
MD5 | 4a44043e58eb5e18527bb1c45fd329a0 |
|
BLAKE2b-256 | 301c7488ffce57521efa8ab62127dc9d6da76a0a2bc520a5950c3e237d06635b |
File details
Details for the file scientistmetrics-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: scientistmetrics-0.0.3-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad1f9b8883abc6a4d75a94c2afa97aa3b6532b77b534d2f3f91298f0a8629b02 |
|
MD5 | 9372cd76bae96ecc65c8506185723f8a |
|
BLAKE2b-256 | 7974bf3c60e26dd15b6cb8b130022c3316348778288c1551905b2c07471d5763 |