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

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:

主站蜘蛛池模板: 水富县| 溆浦县| 突泉县| 香河县| 新郑市| 河间市| 宾阳县| 饶平县| 铜鼓县| 仙游县| 奉化市| 民丰县| 双辽市| 乌兰浩特市| 宝兴县| 彰化县| 河北区| 辽宁省| 宁强县| 崇州市| 呼伦贝尔市| 福海县| 临沧市| 安乡县| 邹城市| 大港区| 德令哈市| 咸阳市| 永吉县| 方正县| 云安县| 宁津县| 长岛县| 岳阳县| 神木县| 开平市| 彩票| 光泽县| 阿尔山市| 宁化县| 巫山县|