machine learning yearning 第十二章
发布日期:2021-06-30 12:09:14 浏览次数:2 分类:技术文章

本文共 2300 字,大约阅读时间需要 7 分钟。

回顾与总结

  • 选择一个能够反馈未来期望的开发集和测试集。而它们可能不同于训练集
  • Choose dev and test sets from a distribution that reflects what data you expect to get in the future and want to do well on. This may not be the same as your training data’s distribution. 
  • 尽量在同一份数据中选择开发集和测试集。
  • Choose dev and test sets from the same distribution if possible. 
  • 选择一个单一的评价指标指导你的团队优化算法。如果你关心大多数的性能,那么考虑把它们“结合”成一个指标(如用平均值、方差等)或者定义一个优化指标和多个满足指标(参见第9章)
  • Choose a single-number evaluation metric for your team to optimize. If there’re multiple goals that you care about, consider combining them into a single formula (such as averaging multiple error metrics) or defining satisficing and optimizing metrics. 
  • 机器学习是一个高度循环的过程:尝试不同的点子,找到最适合的她。
  • Machine learning is a highly iterative process: You may try many dozens of ideas before finding one that you’re satisfied with. 
  • 拥有开发/测试集和一个单一数值指标可以使你更加快速的评估各种算法,提高开发效率。
  • Having dev/test sets and a single-number evaluation metric helps you quickly evaluate algorithms, and therefore iterate faster. 
  • 开启一个项目的时候,首先应该做的,就是先建立开发/测试集和评价指标,至少在一周内就得完成,当然,如果项目成熟的话,花多点时间也不成问题。
  • When starting out on a brand new application, try to establish dev/test sets and a metric quickly, say in less than a week. It might be okay to take longer on mature applications. 
  • 在你有很多数据的情况下,传统的方法:即将数据按7:3分为开发集和测试集就不再试用了。这时候开发/测试集可以低于30%。
  • The old heuristic of a 70%/30% train/test split does not apply for problems where you have a lot of data; the dev and test sets can be much less than 30% of the data. 
  • 你的开发集必须要大到足够发现微小的细节的程度,但未必要非常大,这样才能指导你的团队按正确的方向前进。你的测试集要大到能够准确的评估系统在实际中的表现。
  • Your dev set should be large enough to detect meaningful changes in the accuracy of your algorithm, but not necessarily much larger. Your test set should be big enough to give you a confident estimate of the final performance of your system. 
  • 如果你的开发集和评价指标不在起作用——即无法再继续指引你的团队了,那么建议你马上修改它们:
    • 如果你过度拟合了开发集,那么就添加更多数据给开发集
    • 若果你实际关心的数据类型与测试集和开发集的数据类型有所不同,建议你更新它们
    • 若果说你的评价指标所评价的不在是你关注的重点,建议你修改指标
  • If ever your dev set and metric are no longer pointing your team in the right direction, quickly change them: (i) If you had overfit the dev set, get more dev set data. (ii) If the actual distribution you care about is different from the dev/test set distribution, get new dev/test set data. (iii) If your metric is no longer measuring what is most important to you, change the metric. 

转载地址:https://jacobzhuo.blog.csdn.net/article/details/81556995 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:经典密码学杂谈
下一篇:machine learning yearning 第十一章

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年04月15日 17时54分35秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

学习笔记(34):一学即懂的计算机视觉(第一季)-图像表示与描述 2019-04-30
学习笔记(35):一学即懂的计算机视觉(第一季)-图像表示与描述II 2019-04-30
学习笔记(36):一学即懂的计算机视觉(第一季)-图像表示描述实战演练 2019-04-30
学习笔记(37):一学即懂的计算机视觉(第一季)-总结 2019-04-30
学习笔记(38):高并发下的Nginx性能优化实战-Nginx优势特点总结 2019-04-30
学习笔记(40):高并发下的Nginx性能优化实战-nginx命令 2019-04-30
学习笔记(41):高并发下的Nginx性能优化实战-Linux下Nginx的安装(一) 2019-04-30
学习笔记(42):高并发下的Nginx性能优化实战-Nginx配置文件详解 2019-04-30
学习笔记(44):高并发下的Nginx性能优化实战-Nginx配置web应用集群搭建 2019-04-30
学习笔记(45):高并发下的Nginx性能优化实战-Nginx负载均衡(一) 2019-04-30
QLineEdit和QDateTimeEdit等含编辑框使用stylesheet配置背景透明时,鼠标进入离开背景闪烁问题的解决 2019-04-30
使用Poco库进行加解密和签名验签 2019-04-30
走进开源代码(一) 2019-04-30
走进开源代码(二) 2019-04-30
[转]深度剖析闪电网络 2019-04-30
听李天飞《大话西游》有感 2019-04-30
走进开源代码(三) 2019-04-30
Linux下开发Qt界面程序时命令行传参数的一个坑 2019-04-30
SourceInsight使用技巧(转) 2019-04-30
QT之旅——post 文件 2019-04-30