Skip to content

Commit

Permalink
fig bug in ensembe_stacked time limit and set version 0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Jan 30, 2021
1 parent 14e51de commit e2f1569
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="mljar-supervised",
version="0.8.7",
version="0.8.8",
description="Automates Machine Learning Pipeline with Feature Engineering and Hyper-Parameters Tuning",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion supervised/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.8.7"
__version__ = "0.8.8"

from supervised.automl import AutoML
3 changes: 2 additions & 1 deletion supervised/tuner/time_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ def compound_time_should_use(self, fit_level):
return compound

def enough_time_for_step(self, fit_level):

if fit_level in ["ensemble", "ensemble_stacked"]:
return True
total_time_spend = time.time() - self._start_time
compound = self.compound_time_should_use(fit_level)
#print("Enough time for step", fit_level, np.round(total_time_spend,2), np.round(compound,2))
Expand Down

0 comments on commit e2f1569

Please sign in to comment.