Skip to content

Commit

Permalink
0.6.11 a26
Browse files Browse the repository at this point in the history
  • Loading branch information
winedarksea committed Apr 4, 2024
1 parent baf7d7c commit 71bbe30
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions autots/evaluator/auto_ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1593,9 +1593,14 @@ def _return_best_model(
metric_weighting = self.metric_weighting
if template_cols is None:
template_cols = self.template_cols_id
hens_model_results = self.initial_results.model_results[
self.initial_results.model_results['Ensemble'] == 2
].copy()
if self.horizontal_ensemble_validation:
hens_model_results = self.validation_results.model_results[
self.validation_results.model_results['Ensemble'] == 2
].copy()
else:
hens_model_results = self.initial_results.model_results[
self.initial_results.model_results['Ensemble'] == 2
].copy()
# remove failures
hens_model_results = hens_model_results[
hens_model_results['Exceptions'].isnull()
Expand Down

0 comments on commit 71bbe30

Please sign in to comment.