Yellowbrick v0.6

Benjamin Bengfort, Nathan Danielsen, Rebecca Bilbro, Larry Gray, Kristen McIntyre, George Richardson, Taylor Miller, Gary Mayfield, Phillip Schafer, Jason Keung

Zenodo (CERN European Organization for Nuclear Research) · 2018 · 24 citations · 0 references

DOIFull text

Open access

Concepts

Abstract

Yellowbrick is an open source, pure Python project that extends the scikit-learn API with visual analysis and diagnostic tools. The Yellowbrick API also wraps matplotlib to create publication-ready figures and interactive data explorations while still allowing developers fine-grain control of figures. For users, Yellowbrick can help evaluate the performance, stability, and predictive value of machine learning models and assist in diagnosing problems throughout the machine learning workflow. <strong>Changes </strong> New Feature! The <code>FeatureImportances</code> Visualizer enables the user to visualize the most informative (relative and absolute) features in their model, plotting a bar graph of <code>feature_importances_</code> or <code>coef_</code> attributes. New Feature! The <code>ExplainedVariance</code> Visualizer produces a plot of the explained variance resulting from a dimensionality reduction to help identify the best tradeoff between number of dimensions and amount of information retained from the data. New Feature! The <code>GridSearchVisualizer</code> creates a color plot showing the best grid search scores across two parameters. New Feature! The <code>ClassPredictionError</code> Visualizer is a heatmap implementation of the class balance visualizer, which provides a way to quickly understand how successfully your classifier is predicting the correct classes. New Feature! The <code>ThresholdVisualizer</code> allows the user to visualize the bounds of precision, recall and queue rate at different thresholds for binary targets after a given number of trials. New <code>MultiFeatureVisualizer</code> helper class to provide base functionality for getting the names of features for use in plot annotation. Adds font size param to the confusion matrix to adjust its visibility. Add quick method to the confusion matrix Tests: In this version, we've switched from using nose to pytest. Image comparison tests have been added and the visual tests are updated to matplotlib 2.2.0. Test coverage has also been improved for a number of visualizers, including <code>JointPlot</code>, <code>AlphaPlot</code>, <code>FreqDist</code>, <code>RadViz</code>, <code>ElbowPlot</code>, <code>SilhouettePlot</code>, <code>ConfusionMatrix</code>, <code>Rank1D</code>, and <code>Rank2D</code>. Documentation updates, including discussion of Image Comparison Tests for contributors. <strong>Bug Fixes:</strong> Fixes the resolve_colors function. You can now pass in a number of colors and a colormap and get back the correct number of colors. Fixes <code>TSNEVisualizer</code> Value Error when no classes are specified. Adds the circle back to <code>RadViz</code>! This visualizer has also been updated to ensure there's a visualization even when there are missing values Updated <code>RocAuc</code> to correctly check the number of classes Switch from converting structured arrays to ndarrays using <code>np.copy</code> instead of <code>np.tolist</code> to avoid NumPy deprecation warning. <code>DataVisualizer</code> updated to remove <code>np.nan</code> values and warn the user that nans are not plotted. <code>ClassificationReport</code> no longer has lines that run through the numbers, is more grid-like <strong>Deprecation Warnings:</strong> <code>ScatterPlotVisualizer</code> is being moved to contrib in 0.7 <code>DecisionBoundaryVisualizer</code> is being moved to contrib in 0.7