Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed May 4, 2017
1 parent 8c0ffef commit 097700e
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 8 deletions.
35 changes: 35 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
## Test Constants
##########################################################################

EXPECTED_VERSION = "0.3.3"
EXPECTED_VERSION = "0.4"


##########################################################################
Expand Down
11 changes: 6 additions & 5 deletions yellowbrick/features/jointplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions yellowbrick/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

__version_info__ = {
'major': 0,
'minor': 3,
'micro': 3,
'minor': 4,
'micro': 0,
'releaselevel': 'alpha',
'serial': 3,
}
Expand Down

0 comments on commit 097700e

Please sign in to comment.