Skip to content

Commit a669bad

Browse files
author
Christian Jorgensen
committed
Fixing Ridge example
1 parent 8f2e663 commit a669bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/regression/Ridge2FoldCVRegularization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def get_train_test_error(estimator):
208208
fit_intercept=False,
209209
)
210210
.fit(X_train, y_train)
211-
.cv_values_
211+
.cv_results_
212212
)
213213

214214
results["sklearn LOO CV Tikhonov"]["MSE validation"] = np.mean(

0 commit comments

Comments
 (0)