Skip to content

Commit

Permalink
bugfix in .training_features- thanks test suite!
Browse files Browse the repository at this point in the history
  • Loading branch information
ClimbsRocks committed Feb 22, 2018
1 parent e6650b5 commit aacf6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_ml/predictor.py
Expand Up @@ -307,7 +307,7 @@ def _prepare_for_training(self, X):
clean_descriptions = {}
col_names = set(X_df.columns)
for k, v in self.column_descriptions.items():
if k in col_names or '_day_part' in k:
if k in col_names or '_day_part' in k or v == 'output':
clean_descriptions[k] = v
self.column_descriptions = clean_descriptions

Expand Down

0 comments on commit aacf6e0

Please sign in to comment.