Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX fix description to be aligned with figure legend #753

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python_scripts/parameter_tuning_nested.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down