logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【报错解决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.

#python#机器学习
到底了