forked from moreo/QuaPy
fixing bug in ACC when using cross validation
This commit is contained in:
parent
02dd2846ff
commit
750814ef2a
|
@ -223,6 +223,7 @@ def cross_generate_predictions(
|
|||
|
||||
# fit the learner on all data
|
||||
learner.fit(*data.Xy)
|
||||
y = data.y
|
||||
classes = data.classes_
|
||||
else:
|
||||
learner, val_data = _training_helper(
|
||||
|
|
Loading…
Reference in New Issue