@@ -174,7 +174,7 @@ def cross_validate_with_optimal_threshold(
print("----- In cv threshold fold")
X_train_fold, X_val_fold, y_train_fold, y_val_fold =\
- CVComposer.cv_slice_dataset(
+ CVComposer().cv_slice_dataset(
X=X_train,
y=y_train,
train_inds=train_inds,