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

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:

主站蜘蛛池模板: 车险| 喀什市| 鹤峰县| 南汇区| 岑巩县| 遂宁市| 资溪县| 抚松县| 澜沧| 武山县| 富川| 农安县| 大冶市| 青阳县| 佛教| 土默特右旗| 名山县| 灯塔市| 乐都县| 樟树市| 新郑市| 铜山县| 临海市| 安福县| 溆浦县| 通化县| 红桥区| 湾仔区| 拉萨市| 永川市| 卢龙县| 花垣县| 观塘区| 香港| 莲花县| 朝阳市| 九江市| 确山县| 夏邑县| 宝坻区| 桐城市|