A visualization package for model score evaluation.
Project description
scoreval
An visulized evaluation toolkit for model score. The model score will be evaluated static, on the full dataset. And further evaluate along date. This aims to help machine learning modelers to evaluate the result effictively and efficiently.
Effectiveness
- static method: on the full eval data set.
- PR chart : average performance of the score.
- WOE/IV : indicative power of score binning.
- time method: metrics along date.
- QTL daily : show stability of the score
- Precision daily: show target precision above a score cut-off.
- Recall daily: show target coverage above a score cut-off.
Efficiency
- Predefined process & metrics: No need to design and analysis on metrics.
- Deal with multiple model scores: The tool will show charts for multiple model scores for comparison.
Installation
pip install score-eval
Input
The input of this package include the below parts:
- Model: a 'model' that implements the 'predict' method, it comes from most common used modeling tools like sklearn, tensorflow etc. The tool will definitely call model.predict() to get the score on the data set.
- Data set: a data set containing at least 3 columns (row_id, date, label), for calculating the metrics and by dates. If date does not appear, the time method will throw error during run.
Output
Pack of charts to evaluate and understand your model. See the link for more details:
https://github.com/rexzhang2014/scoreval/blob/main/tests/score-eval-example.ipynb
If it cannot be reached, please try:
https://nbviewer.org/github/rexzhang2014/scoreval/blob/main/tests/score-eval-example.ipynb
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file score-eval-0.0.7.tar.gz.
File metadata
- Download URL: score-eval-0.0.7.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
730f962eef0be43e016d2489576665ff63d6b3c43a0903ae279a0cc90c2f37ac
|
|
| MD5 |
bfe8359b0b116cb53ecfe5ae288be084
|
|
| BLAKE2b-256 |
e6e5243bde597dcb0afad765d3760983917eef041a4a69c7a6afeb362f67ddaf
|
File details
Details for the file score_eval-0.0.7-py3-none-any.whl.
File metadata
- Download URL: score_eval-0.0.7-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca2e30f57dd631f34b8a152f9b159ef132192bb9f1010a4a3e6d91f7d54493ce
|
|
| MD5 |
609f6de8307417da39c1b00a9a529ce0
|
|
| BLAKE2b-256 |
77e97e172fc387531545df4cda5d14738db384bb59f53e18ad58564c920284d7
|