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

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.

主站蜘蛛池模板: 江津市| 兖州市| 洛川县| 昂仁县| 新宾| 德令哈市| 新河县| 沧源| 兰溪市| 常山县| 读书| 当阳市| 保康县| 卢龙县| 三门峡市| 上蔡县| 通道| 青田县| 铜川市| 渭南市| 贺州市| 南召县| 通榆县| 楚雄市| 西丰县| 义乌市| 开鲁县| 彝良县| 常德市| 渑池县| 通辽市| 平阴县| 册亨县| 栖霞市| 巫溪县| 乐清市| 湟源县| 浦北县| 沙田区| 石楼县| 广东省|