阅读背景:

如何将数据集分割为训练和验证集保持类之间的比例?

来源:互联网 

I have a multi class classification problem and my dataset is skewed, I have 100 instances of a particular class and say 10 of some different class, so I want to split my dataset keeping ratio between classes, if I have 100 instances of a particular class and I want 30% of records to go in the training set I want to have there 30 instances of my 100 record represented class and 3 instances of my 10 record represented class and so on.I have a multi class classification problem and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: