Skip to content

Commit

Permalink
[PARO-736] Bump version to 0.2.0 (#49)
Browse files Browse the repository at this point in the history
* MAINT bump version to 0.2.0

* MAINT fix README

* FIX package name is civisml-extensions, not civismlext

* MAINT show installed packages in Travis CI builds
  • Loading branch information
jacksonllee authored Nov 21, 2019
1 parent 5539ed2 commit abb83cf
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 12 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ install:
- pip install cython ; python_version==3.6
- pip install pandas==0.19 ; python_version==3.5
- pip install -e .
- pip list
before_script: flake8 civismlext
script:
- py.test -vv civismlext
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

## [0.2.0] - 2019-11-22
### Changed
- Update tests and requirements.txt to allow sklearn 0.20 and above. (#47)
- Instead of boolean flag for `dummy_na`, have None/False (no dummying),
Expand Down
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ This package contains `scikit-learn`_-compatible estimators for stacking (
``HyperbandSearchCV``).

Usage of these estimators follows the standard sklearn conventions. Here is an
example of using the ``StackedClassifier``::
example of using the ``StackedClassifier``:

.. code-block:: python
>>> from sklearn.linear_model import LogisticRegression
>>> from sklearn.ensemble import RandomForestClassifier
Expand All @@ -52,7 +54,7 @@ See the doc strings of the various estimators for more information.
Contributing
------------

See ``CONTIBUTING.md`` for information about contributing to this project.
See ``CONTRIBUTING.md`` for information about contributing to this project.

License
-------
Expand Down
25 changes: 19 additions & 6 deletions civismlext/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
from civismlext.stacking import StackedRegressor # NOQA
from civismlext.stacking import StackedClassifier # NOQA
from civismlext.nonnegative import NonNegativeLinearRegression # NOQA
from civismlext.hyperband import HyperbandSearchCV # NOQA
from civismlext.preprocessing import DataFrameETL # NOQA
from civismlext._version import __version__ # NOQA
import pkg_resources

from civismlext.stacking import StackedRegressor
from civismlext.stacking import StackedClassifier
from civismlext.nonnegative import NonNegativeLinearRegression
from civismlext.hyperband import HyperbandSearchCV
from civismlext.preprocessing import DataFrameETL


__version__ = pkg_resources.get_distribution('civisml-extensions').version

__all__ = [
'StackedRegressor',
'StackedClassifier',
'NonNegativeLinearRegression',
'HyperbandSearchCV',
'DataFrameETL',
'__version__',
]
1 change: 0 additions & 1 deletion civismlext/_version.py

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ def read(fname):
return _in.read()


__version__ = None
exec(read('civismlext/_version.py'))
_VERSION = '0.2.0'

setup(version=__version__,
setup(version=_VERSION,
name="civisml-extensions",
author="Civis Analytics",
author_email="[email protected]",
Expand Down

0 comments on commit abb83cf

Please sign in to comment.