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

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.

主站蜘蛛池模板: 云和县| 岫岩| 嵊泗县| 瓮安县| 廉江市| 临清市| 宝清县| 赫章县| 利川市| 新疆| 修文县| 兴国县| 天峻县| 舒城县| 文昌市| 阳城县| 合山市| 怀安县| 盐城市| 威海市| 云安县| 衡南县| 德江县| 通江县| 临潭县| 南涧| 潜山县| 仁寿县| 察隅县| 礼泉县| 康马县| 甘德县| 沙河市| 新建县| 拜泉县| 清水河县| 九江市| 南皮县| 贡山| 定南县| 天镇县|