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

Cross-validation

Cross-validation splits the dataset into k sets of approximately the same size—for example, in the following diagram, into five sets. First, we use sets 2 to 5 for learning and set 1 for training. We then repeat the procedure five times, leaving out one set at a time for testing, and average the error over the five repetitions:

This way, we use all of the data for learning and testing as well, while avoiding using the same data to train and test a model.

主站蜘蛛池模板: 花莲县| 克什克腾旗| 介休市| 尤溪县| 珠海市| 吉首市| 新竹市| 嘉义县| 丹江口市| 仙桃市| 盖州市| 鹤岗市| 台北市| 郎溪县| 邯郸县| 定安县| 通州市| 滦平县| 江油市| 灌阳县| 施甸县| 金塔县| 礼泉县| 鄂尔多斯市| 盐边县| 秦皇岛市| 板桥市| 萨迦县| 登封市| 梁山县| 上杭县| 政和县| 关岭| 新巴尔虎左旗| 清徐县| 定结县| 锡林郭勒盟| 墨竹工卡县| 元江| 香格里拉县| 达尔|