Skip to content

Commit

Permalink
Doc / cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Aug 29, 2018
1 parent b3342fb commit 3d2fcd1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tpot/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def __init__(self, generations=100, population_size=100, offspring_size=None,
will also provide more detailed diagnostics when using Dask's
distributed scheduler.
See `<avoid repeated work <https://dask-ml.readthedocs.io/en/latest/hyper-parameter-search.html#avoid-repeated-work>`_
See `avoid repeated work <https://dask-ml.readthedocs.io/en/latest/hyper-parameter-search.html#avoid-repeated-work>`__
for more.
Returns
Expand Down Expand Up @@ -1162,7 +1162,6 @@ def _combine_individual_stats(self, operator_count, cv_score, individual_stats):
stats = deepcopy(individual_stats) # Deepcopy, since the string reference to predecessor should be cloned
stats['operator_count'] = operator_count
stats['internal_cv_score'] = cv_score
print('combine_individual_stats', self.use_dask, stats)
return stats

def _evaluate_individuals(self, individuals, features, target, sample_weight=None, groups=None):
Expand Down Expand Up @@ -1349,7 +1348,6 @@ def _update_evaluated_individuals_(self, result_score_list, eval_individuals_str
-------
None
"""
print("update_evaluated_individuals", self.use_dask, eval_individuals_str, result_score_list)
for result_score, individual_str in zip(result_score_list, eval_individuals_str):
if type(result_score) in [float, np.float64, np.float32]:
self.evaluated_individuals_[individual_str] = self._combine_individual_stats(operator_counts[individual_str],
Expand Down

0 comments on commit 3d2fcd1

Please sign in to comment.