Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo committed Sep 14, 2017
1 parent 0ac0fe2 commit e25d7a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion evolutionary_search/cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ def __init__(self, estimator, params, scoring=None, cv=4,
self.gene_type = gene_type
self.all_history_, self.all_logbooks_ = [], []
self._cv_results = None
self.best_score_ = None
self.best_params_ = None
if self.n_jobs > 1:
self.__manager = Manager()
self.score_cache = self.__manager.dict()
Expand Down Expand Up @@ -443,6 +445,6 @@ def _fit(self, X, y, parameter_dict):
if self.n_jobs > 1:
pool.close()
pool.join()

self.best_score_ = current_best_score_
self.best_params_ = current_best_params_
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

setup(
name='sklearn-deap',
version='0.2.0',
version='0.2.1',
author='Rodrigo',
author_email='',
description='Use evolutionary algorithms instead of gridsearch in scikit-learn.',
url='https://github.com/rsteca/sklearn-deap',
download_url='https://github.com/rsteca/sklearn-deap/tarball/0.2.0',
download_url='https://github.com/rsteca/sklearn-deap/tarball/0.2.1',
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2',
Expand Down

0 comments on commit e25d7a0

Please sign in to comment.