摘要: 关于交叉验证,我在之前的文章中已经进行了简单的介绍,而现在我们则通过几个更加详尽的例子.详细的介绍CV%matplotlib inlineimport numpy as npfrom sklear... 阅读全文
posted @ 2018-01-31 17:36 FontTian 阅读(1327) 评论(0) 推荐(0) 编辑
摘要: 留出法(hold-out)使用 n:m and n + m =1 的形式对原数据进行分割,例如 train : test = 7 : 3 or train : test = 6.5 : 3.5 但是这种相对原始的处理方式效果并不好,缺点如下: 缺点一:浪费数据缺点二:... 阅读全文
posted @ 2018-01-31 17:08 FontTian 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 留出法(hold-out)使用 n:m and n + m =1 的形式对原数据进行分割,例如 train : test = 7 : 3 or train : test = 6.5 : 3.5 但... 阅读全文
posted @ 2018-01-31 17:08 FontTian 阅读(286) 评论(0) 推荐(0) 编辑