You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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: