![](../../asset/images/user/bgImg_default.jpeg)
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
【报错解决01】分层抽样报错ValueError: The least populated class in y has only 1 member
使用pandas和train_test_split进行分层抽样,报错ValueError: The least populated class in y has only 1 member, which is too few. The minimum number of groups for any class cannot be less than 2.
到底了