Skip to content

Commit

Permalink
FIX fix description to be aligned with figure legend (#753)
Browse files Browse the repository at this point in the history
glemaitre authored Nov 20, 2023
1 parent 84877f2 commit 8e8ee50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_scripts/parameter_tuning_nested.py
Original file line number Diff line number Diff line change
@@ -259,11 +259,11 @@
# This figure illustrates the nested cross-validation strategy using
# `cv_inner = KFold(n_splits=4)` and `cv_outer = KFold(n_splits=5)`.
#
# For each inner cross-validation split (indexed on the left-hand side),
# For each inner cross-validation split (indexed on the right-hand side),
# the procedure trains a model on all the red samples and evaluate the quality
# of the hyperparameters on the green samples.
#
# For each outer cross-validation split (indexed on the right-hand side),
# For each outer cross-validation split (indexed on the left-hand side),
# the best hyper-parameters are selected based on the validation scores
# (computed on the greed samples) and a model is refitted on the concatenation
# of the red and green samples for that outer CV iteration.

0 comments on commit 8e8ee50

Please sign in to comment.