官术网_书友最值得收藏!

Cross-validation

Cross-validation is another way of ensuring robustness in the model at the expense of computation. In the ordinary modeling methodology, a model is developed on train data and evaluated on test data. In some extreme cases, train and test might not have been homogeneously selected and some unseen extreme cases might appear in the test data, which will drag down the performance of the model.

On the other hand, in cross-validation methodology, data was divided into equal parts and training performed on all the other parts of the data except one part, on which performance will be evaluated. This process repeated as many parts user has chosen.

Example: In five-fold cross-validation, data will be divided into five parts, subsequently trained on four parts of the data, and tested on the one part of the data. This process will run five times, in order to cover all points in the data. Finally, the error calculated will be the average of all the errors:

主站蜘蛛池模板: 桂林市| 民和| 锦州市| 西充县| 普兰县| 庆元县| 喀喇| 信丰县| 会泽县| 镇宁| 抚松县| 乐昌市| 岚皋县| 杭锦旗| 万全县| 陇西县| 客服| 木里| 胶州市| 多伦县| 冀州市| 讷河市| 石家庄市| 郑州市| 阳西县| 廉江市| 湘潭县| 卢湾区| 雅江县| 武安市| 乌拉特后旗| 建始县| 久治县| 城步| 岗巴县| 广昌县| 那坡县| 鄂尔多斯市| 岳阳县| 东莞市| 犍为县|