- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Training, Validation and Test Data Example:
(A)We have data on 16 data items , their attributes and class labels.
TrainingItem No.1.2.3.4.–dAttributesKNOWN FOR ALLClass0011RANDOMLY divide them into
Training
Item No.
1.
2.
3.
4.
–dAttributes
KNOWN FOR ALL
Class
0
0
1
1
5. DATA
ITEMS
1
6.
1
7.
0
8.
0
Validation
9.
0
10.
0
11.
1
12.
0
Test
13.
0
14.
0
15.
1
16.
1
(B). Next, suppose we develop, three classification models A, B, C from the training data. Let the training errors on these models be as shown below (recall that the models do not necessarily provide perfect results on tra—innienigthdeartathey are
ClassificationError2/83/8
Classification
Error
2/8
3/8
3/8
Item No.
d- Attributes
True Class
Classification
Model A Model B
results from
Model C
1.
0
0
1
1
2. ALL
KNOWN
0
0
0
0
3.
1
0
1
0
4.
1
1
0
1
5.
1
0
0
0
6.
1
1
1
1
7.
0
0
0
0
8.
0
0
0
0
(C). Next, use the three models A, B, C to classify each item in the validation set based on its attribute vales. Recall that we do know their true labels as well.
Suppose we get the following results:
Classification results from Item No. d- Attributes True Class Model A Model B Model C
9. 0
1
0
0
10. 0
0
1
0
11. 1
0
1
0
12. 0
0
1
0
Classification
2/4
2/4
1/4
Error
If we use minimum validation error as model selection criterion, we would select model C.
Now use model C to determine class values for each data point in the test set. We do so by substituting the (known) attribute value into the classification model C. Again, recall that we know the true label of each of these data items so that we can compare the values obtained from the classification model with the true labels to determine classification error on the test set. Suppose we get the following results.
Item No. d- Attributes
True Class
from
Model C
13.
0
0
14. ALL KNOWN
0
0
15.
1
0
16.
1
1
Classification
1/4
Classification resultsErrorBased on the above, an estimate of generalization error
Classification results
Error
What this means
is that if we use Model C to clas
您可能关注的文档
最近下载
- 义务教育版(2024)四年级信息科技 第3课 寻找可靠数据源 课件.pptx VIP
- 北京中创天勤MSD系列伺服驱动器说明书.pdf VIP
- 中核人才测评题库及答案.doc
- 术后镇痛培训课件.ppt VIP
- 2025年银发经济消费人群洞察.pdf VIP
- 幼儿园课件:大班上学期 语言——蚯蚓的旅行.pptx
- 2025年司机心理测试题目及答案.doc VIP
- 义务教育版(2024)四年级信息科技 第2课 获取数据有方法 课件.pptx VIP
- 义务教育版(2024)四年级信息技术 第2课 获取数据有方法 课件.pptx VIP
- 新版人教版七年级下册地理课件 第八章 我们邻近的地区和国家 第四节 俄罗斯.pptx VIP
文档评论(0)