What does KFold in python exactly do?

前端 未结 3 1640
失恋的感觉
失恋的感觉 2020-12-15 07:35

I am looking at this tutorial: https://www.dataquest.io/mission/74/getting-started-with-kaggle

I got to part 9, making predictions. In there there is some data in a

3条回答
  •  别那么骄傲
    2020-12-15 07:54

    The procedure has a single parameter called k that refers to the number of groups that a given data sample is to be split into. As such, the procedure is often called k-fold cross-validation. When a specific value for k is chosen, it may be used in place of k in the reference to the model, such as k=10 becoming 10-fold cross-validation..

    You can refer to this post for more information. https://medium.com/@xzz201920/stratifiedkfold-v-s-kfold-v-s-stratifiedshufflesplit-ffcae5bfdf

提交回复
热议问题