Skip to content

Commit

Permalink
more error handling for xgb's eccentricities
Browse files Browse the repository at this point in the history
  • Loading branch information
ClimbsRocks committed Nov 29, 2017
1 parent 766fa0f commit 0080dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_ml/predictor.py
Expand Up @@ -1003,7 +1003,7 @@ def print_results(self, model_name, model, X, y):

feature_responses = self.create_feature_responses(model, X, y, top_features)
self._join_and_print_analytics_results(feature_responses, sorted_model_results, sort_field='Importance')
except TypeError as e:
except AttributeError as e:
if model_name == 'XGBRegressor':
pass
else:
Expand Down

0 comments on commit 0080dfc

Please sign in to comment.