Skip to content

Commit 916b88b

Browse files
authored
Merge pull request scikit-learn-contrib#32 from tagomatech/tagomatech-patch-1
explicitly converted error message to string
2 parents 64a41d2 + ffd18e2 commit 916b88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boruta/boruta_py.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def _get_imp(self, X, y):
380380
self.estimator.fit(X, y)
381381
except Exception as e:
382382
raise ValueError('Please check your X and y variable. The provided'
383-
'estimator cannot be fitted to your data.\n' + e)
383+
'estimator cannot be fitted to your data.\n' + str(e))
384384
try:
385385
imp = self.estimator.feature_importances_
386386
except Exception:

0 commit comments

Comments
 (0)