Skip to content

Commit 14ab7cc

Browse files
committed
FIX error message
1 parent ab99b2f commit 14ab7cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autosklearn/automl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ def predict(self, X, batch_size=None, n_jobs=1):
531531
self._resampling_strategy not in \
532532
['holdout', 'holdout-iterative-fit']:
533533
raise NotImplementedError(
534-
'Predict is currently only implemented for resampling '
535-
'strategy %s.' % self._resampling_strategy)
534+
'Predict is currently not implemented for resampling '
535+
'strategy %s, please call refit().' % self._resampling_strategy)
536536

537537
if self.models_ is None or len(self.models_) == 0 or \
538538
self.ensemble_ is None:

0 commit comments

Comments
 (0)