Skip to content

Commit de141dd

Browse files
committed
update tests
1 parent 4ce5779 commit de141dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deeptables/models/deeptable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def fit_cross_validation(self, X, y, X_eval=None, X_test=None, num_folds=5, stra
512512
logger.info(f'fit_cross_validation taken {time.time() - start}s')
513513

514514
if oof_metrics is not None:
515-
return oof_proba_fixed, eval_proba_mean_fixed, test_proba_mean_fixed, oof_scores
515+
return oof_proba_fixed, eval_proba_mean_fixed, test_proba_mean_fixed, oof_scores,
516516
else:
517517
return oof_proba_fixed, eval_proba_mean_fixed, test_proba_mean_fixed
518518

deeptables/models/hyper_dt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def fit_cross_validation(self, X, y, eval_set=None, metrics=None, pos_label=None
176176

177177
self.classes_ = getattr(self.model, 'classes_', None)
178178

179-
return scores, oof_proba, oof_scores
179+
return scores, oof_proba, oof_scores, None, None # TODO: add xvals, yvals
180180

181181
def predict(self, X, **kwargs):
182182
return self.model.predict(X, **kwargs)

0 commit comments

Comments
 (0)