-
-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
71 changed files
with
21,104 additions
and
976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.. -*- mode: rst -*- | ||
|Visualizers|_ | ||
|
||
.. |Visualizers| image:: http://www.scikit-yb.org/en/latest/_images/visualizers.png | ||
.. _Visualizers: http://scikit-yb.org/ | ||
|
||
Yellowbrick | ||
=========== | ||
|
||
Yellowbrick is a suite of visual analysis and diagnostic tools designed to facilitate machine learning with Scikit-Learn. The library implements a new core API object, the "Visualizer" that is an Scikit-Learn estimator: an object that learns from data. Like transformers or models, visualizers learn from data by creating a visual representation of the model selection workflow. | ||
|
||
Visualizers allow users to steer the model selection process, building intuition around feature engineering, algorithm selection, and hyperparameter tuning. For example, visualizers can help diagnose common problems surrounding model complexity and bias, heteroscedasticity, underfit and overtraining, or class balance issues. By applying visualizers to the model selection workflow, Yellowbrick allows you to steer predictive models to more successful results, faster. | ||
|
||
Please see the full documentation at: http://scikit-yb.org/ | ||
|
||
Visualizers | ||
----------- | ||
|
||
Visualizers are estimators (objects that learn from data) whose primary objective is to create visualizations that allow insight into the model selection process. In Scikit-Learn terms, they can be similar to transformers when visualizing the data space or wrap an model estimator similar to how the “ModelCV” (e.g. RidgeCV_, LassoCV_) methods work. The primary goal of Yellowbrick is to create a sensical API similar to Scikit-Learn. Some of our most popular visualizers include: | ||
|
||
.. _RidgeCV: http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.RidgeCV.html | ||
.. _LassoCV: http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LassoCV.html | ||
|
||
Feature Visualization | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **Rank2D**: pairwise ranking of features to detect relationships | ||
- **Parallel Coordinates**: horizontal visualization of instances | ||
- **Radial Visualization**: separation of instances around a circular plot | ||
|
||
Classification Visualization | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **Class Balance**: see how the distribution of classes affects the model | ||
- **Classification Report**: visual representation of precision, recall, and F1 | ||
- **ROC/AUC Curves**: receiver operator characteristics and area under the curve | ||
- **Confusion Matrices**: visual description of class decision making | ||
|
||
Regression Visualization | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **Prediction Error Plots**: find model breakdowns along the domain of the target | ||
- **Residuals Plot**: show the difference in residuals of training and test data | ||
- **Alpha Selection**: show how the choice of alpha influences regularization | ||
|
||
Clustering Visualization | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **K-Elbow Plot**: select k using the elbow method and various metrics | ||
- **Silhouette Plot**: select k by visualizing silhouette coefficient values | ||
|
||
Text Visualization | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
- **Term Frequency**: visualize the frequency distribution of terms in the corpus | ||
- **TSNE**: use stochastic neighbor embedding to project documents. | ||
|
||
... and more! Visualizers are being added all the time; be sure to check the examples_ (or even the develop_ branch) and feel free to contribute your ideas for new Visualizers! | ||
|
||
.. _examples: http://www.scikit-yb.org/en/latest/examples/examples.html | ||
.. _develop: https://github.com/districtdatalabs/yellowbrick/tree/develop |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.