GithubHelp home page GithubHelp logo

paul2002 / ml-reporting-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bbonik/ml-reporting-tools

0.0 1.0 0.0 192 KB

Library of functions to generate visually pleasing reports for Machine Learning models

License: MIT License

Python 100.00%

ml-reporting-tools's Introduction

ML-reporting-tools

Library of functions for generating visually pleasing performance reports for Machine Learning models.

Example reports:

Example1 Example2

Functions:

/source/ml_reporting_tools.py contains:

  • plot_confusion_matrix(): Generates an aesthetic confusion matrix (either standalone or within another figure).
  • plot_precision_recall_curve(): Generates an aesthetic Precision-Recall curve (either standalone or within another figure).
  • plot_roc_curve(): Generates an aesthetic ROC curve (either standalone or within another figure).
  • estimate_best_threshold(): Estimates the "best" threshold for a binary classifier, one that results in the maximum F1 score.
  • generate_threshold_report(): Generates a detailed threshold analysis for a binary classifier.
  • generate_classification_report(): Generates a detailed report for a classifier.

Contents:

├── source                                  [Directory: Source code]
│   ├── ml_reporting_tools.py               [Main script with all the functions]  
│   ├── example_2_class_classification.py   [Example for a binary classifier]  
│   └── example_3_class_classification.py   [Example for a multiclass classifier]
└── images                                  [Directory: Sample reports]

Dependences

  • numpy
  • sklearn
  • matplotlib

ml-reporting-tools's People

Contributors

bbonik avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.