diff --git a/DESCRIPTION.md b/DESCRIPTION.md index 7a862aea7..fb96a2e30 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -1,6 +1,6 @@ # Yellowbrick -[![Visualizers](docs/images/readme/banner.png)](https://www.scikit-yb.org/) +[![Visualizers](https://github.com/DistrictDataLabs/yellowbrick/raw/develop/docs/images/readme/banner.png)](https://www.scikit-yb.org/) 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. Similar to transformers or models, visualizers learn from data by creating a visual representation of the model selection workflow. @@ -16,7 +16,7 @@ Visualizers are estimators — objects that learn from data — whose pr - **Classification Report**: a visual classification report that displays a model's precision, recall, and F1 per-class scores as a heatmap - **Confusion Matrix**: a heatmap view of the confusion matrix of pairs of classes in multi-class classification -- **Discrimination Threshold**: a visualization of the precision, recall, F1-score, and queue rate with respect to the discrimination threshold of a binary classifier +- **Discrimination Threshold**: a visualization of the precision, recall, F1-score, and queue rate with respect to the discrimination threshold of a binary classifier - **Precision-Recall Curve**: plot the precision vs recall scores for different probability thresholds - **ROCAUC**: graph the receiver operator characteristic (ROC) and area under the curve (AUC) @@ -66,5 +66,5 @@ Visualizers are estimators — objects that learn from data — whose pr ... and more! Yellowbrick is adding new visualizers all the time so be sure to check out our [examples gallary](https://www.scikit-yb.org/en/latest/api/index.html) — or even the [develop](https://github.com/districtdatalabs/yellowbrick/tree/develop) branch — and feel free to contribute your ideas for new Visualizers! ## Affiliations -[![District Data Labs](docs/images/readme/affiliates_ddl.png)](https://www.districtdatalabs.com/) [![NumFOCUS Affiliated Project](docs/images/readme/affiliates_numfocus.png)](https://numfocus.org/) +[![District Data Labs](https://github.com/DistrictDataLabs/yellowbrick/raw/develop/docs/images/readme/affiliates_ddl.png)](https://www.districtdatalabs.com/) [![NumFOCUS Affiliated Project](https://github.com/DistrictDataLabs/yellowbrick/raw/develop/docs/images/readme/affiliates_numfocus.png)](https://numfocus.org/) diff --git a/setup.cfg b/setup.cfg index 505034391..f3a590f4d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,9 +2,6 @@ description-file = DESCRIPTION.txt license_file = LICENSE.txt -[wheel] -universal = 1 - [test] local_freetype = True tests = True diff --git a/setup.py b/setup.py index 06f23e4f4..babb04d3e 100755 --- a/setup.py +++ b/setup.py @@ -163,7 +163,7 @@ def get_description_type(path=PKG_DESCRIBE): "zip_safe": False, "entry_points": {"console_scripts": []}, "install_requires": list(get_requires()), - "python_requires": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", + "python_requires": ">=3.4, <4", "setup_requires": ["pytest-runner"], "tests_require": ["pytest"], } diff --git a/tests/__init__.py b/tests/__init__.py index 4f88b2007..ee5426a0b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -27,7 +27,7 @@ ## Test Constants ########################################################################## -EXPECTED_VERSION = "1.0" +EXPECTED_VERSION = "1.0.post1" ########################################################################## diff --git a/yellowbrick/version.py b/yellowbrick/version.py index 74c0811de..e1c893b33 100644 --- a/yellowbrick/version.py +++ b/yellowbrick/version.py @@ -22,7 +22,8 @@ "minor": 0, "micro": 0, "releaselevel": "final", - "serial": 14, + "post": 1, + "serial": 15, } ########################################################################## @@ -35,11 +36,20 @@ def get_version(short=False): Prints the version. """ assert __version_info__["releaselevel"] in ("alpha", "beta", "final") - vers = ["%(major)i.%(minor)i" % __version_info__] + vers = ["{major}.{minor}".format(**__version_info__)] + if __version_info__["micro"]: - vers.append(".%(micro)i" % __version_info__) + vers.append(".{micro}".format(**__version_info__)) + if __version_info__["releaselevel"] != "final" and not short: vers.append( - "%s%i" % (__version_info__["releaselevel"][0], __version_info__["serial"]) + "{}{}".format( + __version_info__["releaselevel"][0], + __version_info__["serial"], + ) ) + + if __version_info__["post"]: + vers.append(".post{}".format(__version_info__["post"])) + return "".join(vers)