If the number of splits is greater than number of samples, you will get the first error.
如果划分类别数比样本数还多,就会报这个错误。
因此,检查一下数据是否读取正确。
If the number of splits is greater than number of samples, you will get the first error.
如果划分类别数比样本数还多,就会报这个错误。
因此,检查一下数据是否读取正确。