Skip to content

Commit 456f919

Browse files
committed
merge conflict bug fix
1 parent c734f4c commit 456f919

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

openml/runs/functions.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,6 @@ def _run_task_get_arffcontent(model, task, class_labels):
181181
if version_complies(3, 3):
182182
modelfit_duration = (time.process_time() - modelfit_starttime) * 1000
183183
user_defined_measures['usercpu_time_millis_training'][rep_no][fold_no] = modelfit_duration
184-
185-
if isinstance(model_fold, sklearn.model_selection._search.BaseSearchCV):
186-
arff_tracecontent.extend(_extract_arfftrace(model_fold, rep_no, fold_no))
187-
model_classes = model_fold.best_estimator_.classes_
188-
else:
189-
model_classes = model_fold.classes_
190184
except AttributeError as e:
191185
# typically happens when training a regressor on classification task
192186
raise PyOpenMLError(str(e))

0 commit comments

Comments
 (0)