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

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.

主站蜘蛛池模板: 景宁| 株洲县| 龙游县| 淳化县| 雅安市| 昌乐县| 汾阳市| 丰原市| 揭阳市| 新沂市| 赤城县| 天水市| 城固县| 南丰县| 景谷| 东平县| 屏边| 溆浦县| 锦州市| 石楼县| 丹江口市| 关岭| 永泰县| 上林县| 沐川县| 敖汉旗| 大庆市| 金溪县| 炎陵县| 德令哈市| 依安县| 扶余县| 鸡东县| 南汇区| 阜平县| 抚州市| 黄山市| 云和县| 赣榆县| 余江县| 武川县|