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
Here you're getting num_to_keep based on the number of examples not labeled as NONE (len(trlabels)-len(none_idxs)); however, according to the comment above you should use the number of examples labeled as NONE (len(none_idxs)).