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

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:

主站蜘蛛池模板: 兴隆县| 金堂县| 临澧县| 呼伦贝尔市| 施甸县| 汉中市| 开平市| 二连浩特市| 平定县| 涪陵区| 沁水县| 孝义市| 五指山市| 博野县| 建阳市| 苍梧县| 清镇市| 祁连县| 望都县| 平遥县| 墨玉县| 封开县| 汉源县| 铜梁县| 恩施市| 深泽县| 寿阳县| 田阳县| 六安市| 阿坝| 湖州市| 五峰| 都昌县| 九寨沟县| 稷山县| 贡嘎县| 伊金霍洛旗| 阳朔县| 尼勒克县| 漳平市| 金山区|