Skip to main content

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

  1. static method: on the full eval data set.
    1. PR chart : average performance of the score.
    2. WOE/IV : indicative power of score binning.
  2. time method: metrics along date.
    1. QTL daily : show stability of the score
    2. Precision daily: show target precision above a score cut-off.
    3. Recall daily: show target coverage above a score cut-off.

Efficiency

  1. Predefined process & metrics: No need to design and analysis on metrics.
  2. 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

score-eval-0.0.6.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

score_eval-0.0.6-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page