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
y_train is a np.array, we can pass a list of indexes directly to
the operator[].
X_train is a dataframe, and our sample_idx is a list of randomly
sampled integers between [0, len(X_train)), so we should operate
with iloc.
0 commit comments