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

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:

主站蜘蛛池模板: 阳东县| 文水县| 宁河县| 东海县| 白城市| 德令哈市| 新邵县| 屯门区| 尤溪县| 渝北区| 弥勒县| 宿松县| 咸丰县| 贡觉县| 安达市| 惠来县| 堆龙德庆县| 凤阳县| 永丰县| 筠连县| 宜君县| 色达县| 柞水县| 台南市| 米脂县| 南京市| 临沂市| 新昌县| 孝感市| 梧州市| 治县。| 南宫市| 囊谦县| 胶南市| 乌审旗| 卓尼县| 雅安市| 沛县| 彭山县| 长丰县| 丹寨县|