diff --git a/docs/changelog.rst b/docs/changelog.rst index 4765dcb89..9648cba7b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,40 @@ Changelog ========= +Version 0.4 +----------- +This release is the culmination of the Spring 2017 DDL Research Labs that focused on developing Yellowbrick as a community effort guided by a sprint/agile workflow. We added several more visualizers, did a lot of user testing and bug fixes, updated the documentation, and generally discovered how best to make Yellowbrick a friendly project to contribute to. + +Notable in this release is the inclusion of two new feature visualizers that use few, simple dimensions to visualize features against the target. The ``JointPlotVisualizer`` graphs a scatter plot of two dimensions in the data set and plots a best fit line across it. The ``ScatterVisualizer`` also uses two features, but also colors the graph by the target variable, adding a third dimension to the visualization. + +This release also adds support for clustering visualizations, namely the elbow method for selecting K, ``KElbowVisualizer`` and a visualization of cluster size and density using the ``SilhouetteVisualizer``. The release also adds support for regularization analysis using the ``AlphaSelection`` visualizer. Both the text and classification modules were also improved with the inclusion of the ``PosTagVisualizer`` and the ``ConfusionMatrix`` visualizer respectively. + +This release also added an Anaconda repository and distribution so that users can ``conda install`` yellowbrick. Even more notable, we got yellowbrick stickers! We've also updated the documentation to make it more friendly and a bit more visual; fixing the API rendering errors. All-in-all, this was a big release with a lot of contributions and we thank everyone that participated in the lab! + +* Tag: v0.4_ +* Deployed: Thursday, May 4, 2017 +* Contributors: Benjamin Bengfort, Rebecca Bilbro, Nathan Danielsen, Matt Andersen, Prema Roman, Neal Humphrey, Jason Keung, Bala Venkatesan, Paul Witt, Morgan Mendis, Tuuli Morril + +Changes: + - Part of speech tags visualizer -- ``PosTagVisualizer``. + - Alpha selection visualizer for regularized regression -- ``AlphaSelection`` + - Confusion Matrix Visualizer -- ``ConfusionMatrix`` + - Elbow method for selecting K vis -- ``KElbowVisualizer`` + - Silhouette score cluster visualization -- ``SilhouetteVisualizer`` + - Joint plot visualizer with best fit -- ``JointPlotVisualizer`` + - Scatter visualization of features -- ``ScatterVisualizer`` + - Added three more example datasets: mushroom, game, and bike share + - Contributor's documentation and style guide + - Maintainers listing and contacts + - Light/Dark background color selection utility + - Structured array detection utility + - Updated classification report to use colormesh + - Added anacondas packaging and distribution + - Refactoring of the regression, cluster, and classification modules + - Image based testing methodology + - Docstrings updated to a uniform style and rendering + - Submission of several more user studies + Version 0.3.3 ------------- Intermediate sprint to demonstrate prototype implementations of text visualizers for NLP models. Primary contributions were the ``FreqDistVisualizer`` and the ``TSNEVisualizer``. @@ -131,6 +165,7 @@ Created the yellowbrick library MVP with two primary operations: a classificatio - Stub tests/stub documentation +.. _v0.4: https://github.com/DistrictDataLabs/yellowbrick/releases/tag/v0.4 .. _v0.3.3: https://github.com/DistrictDataLabs/yellowbrick/releases/tag/v0.3.3 .. _v0.3.2: https://github.com/DistrictDataLabs/yellowbrick/releases/tag/v0.3.2 .. _v0.3.1: https://github.com/DistrictDataLabs/yellowbrick/releases/tag/v0.3.1a2 diff --git a/tests/__init__.py b/tests/__init__.py index ce13cc8a4..a26de3714 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -28,7 +28,7 @@ ## Test Constants ########################################################################## -EXPECTED_VERSION = "0.3.3" +EXPECTED_VERSION = "0.4" ########################################################################## diff --git a/yellowbrick/features/jointplot.py b/yellowbrick/features/jointplot.py index 79f6f862d..0d576669f 100644 --- a/yellowbrick/features/jointplot.py +++ b/yellowbrick/features/jointplot.py @@ -174,11 +174,12 @@ def fit(self, X, y, **kwargs): #throw an error if X has more than 1 column if is_dataframe(X): nrows, ncols = X.shape - if ncols > 1: - raise YellowbrickValueError(( - "X needs to be an ndarray or DataFrame with one feature, " - "please select one feature from the DataFrame" - )) + + if ncols > 1: + raise YellowbrickValueError(( + "X needs to be an ndarray or DataFrame with one feature, " + "please select one feature from the DataFrame" + )) #throw an error is y is None if y is None: diff --git a/yellowbrick/version.py b/yellowbrick/version.py index 7e6c4031d..21aa9c456 100644 --- a/yellowbrick/version.py +++ b/yellowbrick/version.py @@ -19,8 +19,8 @@ __version_info__ = { 'major': 0, - 'minor': 3, - 'micro': 3, + 'minor': 4, + 'micro': 0, 'releaselevel': 'alpha', 'serial': 3, }