Guest User

Untitled

a guest
Nov 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. ValueError("The least populated class in y has only 1"
  2. " member, which is too few. The minimum"
  3. " number of groups for any class cannot"
  4. " be less than 2.")
  5.  
  6. if np.min(class_counts) < 2:
  7. raise ValueError("The least populated class in y has only 1"
  8. " member, which is too few. The minimum"
  9. " number of groups for any class cannot"
  10. " be less than 2.")
Add Comment
Please, Sign In to add comment