Skip to content

Commit 0a5db9c

Browse files
committed
make sure that it works(?)
1 parent 061b12d commit 0a5db9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vimpy/predictiveness_measures.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ def cv_predictiveness_precomputed(x, y, S, measure, f, V = 5, stratified = True,
106106
for v in range(V):
107107
fold_cond = np.flatnonzero(folds == v)
108108
y_test = newy[folds == v]
109-
preds_test = preds[folds == v]
110-
preds_v = preds_test
109+
preds_v = f[folds == v]
111110
preds[cc_cond[fold_cond]] = preds_v
112111
vs[v] = measure(y_test, preds_v)
113112
ics[cc_cond[fold_cond]] = compute_ic(y_test, preds_v, measure.__name__)

0 commit comments

Comments
 (0)