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

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:

主站蜘蛛池模板: 突泉县| 全州县| 鄢陵县| 东明县| 鄂托克前旗| 突泉县| 巩留县| 海门市| 陆河县| 邯郸县| 永丰县| 龙州县| 栖霞市| 赤水市| 务川| 二连浩特市| 江北区| 长海县| 唐河县| 永仁县| 姜堰市| 沂南县| 邓州市| 郸城县| 项城市| 洞头县| 蒲城县| 定远县| 满城县| 玉树县| 汝城县| 集贤县| 巴楚县| 上杭县| 黎城县| 德江县| 镇江市| 仁怀市| 蚌埠市| 乐都县| 蒙阴县|