阅读背景:

通过python进行交叉验证的非随机选择训练和测试数据集

来源:互联网 

Suppose that I have 10 separate datasets and I want to build a predictive model. I need to evaluate the model so, I use cross validation. How can I use each dataset as a fold or specific part in CV? For example, how can I use the first 9 datasets as training set and the 10th dataset as test set and then iterate over all datasets? This way, the training and test datasets will not be randomly selected. Is there any python function to perform it?Suppose that I have 10 separate datasets and I




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

分享到: