K-Fold Cross | 就愛喝咖啡
![K-Fold Cross](https://i.imgur.com/B2oemyF.jpg)
ProcedureofK-FoldCross-ValidationMethod·Randomlyshufflethecompletedataset.·Thealgorithmthendividesthedatasetintokgroups,i.e.,kfoldsofdata ...
![K-Fold Cross](https://i.imgur.com/B2oemyF.jpg)
Creating datasets to train and validate our model from data collection is the most common machine learning approach to increase the models performance. The split ratio of the dataset could be 70 : 30 or 80 : 20. The holdout approach is the most common cross-validation approach.
The issue with this approach is that we are unsure whether a good validation accuracy score of the model denotes a good model. What if the portion of the dataset we used for validation was successful? If we used a distinct portion of the dataset as a validation dataset, would our model still give high accuracy score? The K-fold CV provides solutions to some of these queries.
What is Cross-Validation?When we have to train a machine learning model with a good pe...