Kaggle|Courses|Cross Validation[

2020-04-25  本文已影响0人  十二支箭

什么时候使用交叉验证?

Cross-validation gives a more accurate measure of model quality, which is especially important if you are making a lot of modeling decisions. However, it can take longer to run, because it estimates multiple models (one for each fold).
So, given these tradeoffs, when should you use each approach?

-For small datasets, where extra computational burden isn't a big deal, you should run cross-validation.
-For larger datasets, a single validation set is sufficient. Your code will run faster, and you may have enough data that there's little need to re-use some of it for holdout.

上一篇 下一篇

猜你喜欢

热点阅读