We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code in Lesson 3 - Cross-Validation appears in the notebook.
skf = StratifiedKFold(n_splits=10, shuffle=True) for _, val_idx in kf.split(np.array(train_imgs), train_labels):
However, I believe the for loop iterator should be skf.split(..) instead of kf.split(...) as the n_splits=10 is done for skf in the preceding line. https://walkwithfastai.com/Cross_Validation
skf.split(..)
kf.split(...)
n_splits=10
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code in Lesson 3 - Cross-Validation appears in the notebook.
However, I believe the for loop iterator should be
skf.split(..)
instead ofkf.split(...)
as then_splits=10
is done for skf in the preceding line.https://walkwithfastai.com/Cross_Validation
The text was updated successfully, but these errors were encountered: