Coursera | Andrew Ng (03-week1-1.1)—为什么是 ML 策略

该系列仅在原课程基础上部分知识点添加个人学习笔记,或相关推导补充等。如有错误,还请批评指教。在学习了 Andrew Ng 课程的基础上,为了更方便的查阅复习,将其整理成文字。因本人一直在学习英语,所以该系列以英文为主,同时也建议读者以英文为主,中文辅助,以便后期进阶时,为学习相关领域的学术论文做铺垫。- ZJ

Coursera 课程 |deeplearning.ai |网易云课堂


转载请注明作者和出处:ZJ 微信公众号-「SelfImprovementLab」

知乎https://zhuanlan.zhihu.com/c_147249273

CSDNhttp://blog.csdn.net/junjun_zhao/article/details/79140307


1.1 Why ML strategy? (为什么是 ML 策略?)

(字幕来源:网易云课堂)

这里写图片描述

Hi, welcome to this course on how to structure your machine learning project,that is on machine learning strategy.I hope that through this course you will learn how to much more quickly and efficiently get your machine learning systems working.So, what is machine learning strategy.Let’s start with a motivating example.Let’s say you are working on your cat classifier.And after working it for some time,you’ve gotten your system to have 90% accuracy,but this isn’t good enough for your application.You might then have a lot of ideas as to how to improve your system.For example, you might think well let’s collect more data, more training data.Or you might say,maybe your training set isn’t diverse enough yet,you should collect images of cats in more diverse poses,or maybe a more diverse set of negative examples.Well maybe you want to train the algorithm longer with gradient descent.Or maybe you want to try a different optimization algorithm,like the Adam optimization algorithm.Or maybe trying a bigger network or a smaller network or maybe you want to try to dropout or maybe L2 regularization.Or maybe you want to change the network architecture such as changing activation functions,changing the number of hidden units and so on and so on.When trying to improve a deep learning system,you often have a lot of ideas or things you could try.And the problem is that if you choose poorly,it is entirely possible that you end up spending six months charging in some direction only to realize after six months that that didn’t do any good.For example, I’ve seen some teams spend literally six months collecting more data only to realize after six months that it barely improved the performance of their system.So, assuming you don’t have six months to waste on your problem,won’t it be nice if you had quick and effective ways to figure out which of all of these ideas and maybe even other ideas are worth pursuing and which ones you can safely discard.

这里写图片描述

大家好 欢迎收听本课 如何构建你的机器学习项目,也就是说机器学习的策略,我希望通过这门课程 你们能够学到,如何更快速高效地优化你的机器学习系统,那么 什么是机器学习策略呢,我们从一个启发性的例子开始讲,假设你正在调试你的猫分类器,经过一段时间的调整,你的系统达到了90%准确率,但对你的应用程序来说还不够好,你可能有很多想法去改善你的系统,比如 你可能想 我们去收集更多的训练数据吧,或者你会说,可能你的训练集的多样性还不够,你应该收集更多不同姿势的猫咪图片,或者更多样化的反例集,或者你想再用梯度下降训练算法 训练久一点,或者你想尝试用一个完全不同的优化算法,比如Adam优化算法,或者尝试使用规模更大或者更小的神经网络,或者你想试试 dropout 或者 L2正则化,或者你想修改网络的架构,比如修改激活函数改变隐藏单元的数目 之类的方法,当你尝试优化一个深度学习系统时,你通常可以有很多想法可以去试,问题在于 如果你做出了错误的选择,你完全有可能,白费*6个月的时间 往错误的方向前进*,在6个月之后才意识到这方法根本不管用,比如 我见过一些团队花了6个月时间收集更多数据,却在6个月之后发现,这些数据几乎没有改善他们系统的性能,所以 假设你的项目没有6个月的时间可以浪费,如果有快速有效的方法,能够判断哪些想法是靠谱的 或者甚至提出新的想法,判断哪些是值得一试的想法 哪些是可以放心舍弃的。

So what I hope to do in this course is teach you a number of strategies, that is ways of analyzing a machine learning problem that will point you in the direction of the most promising things to try.What I will do in this course also is share with you a number of lessons I’ve learned through building and shipping large number of deep learning products.And I think these materials are actually quite unique to this course.I don’t see a lot of these ideas being taught in universities’ deep learning courses for example.It turns out also that machine learning strategy is changing in the era of deep learning because the things you could do are now different with deep learning algorithms than with previous generation of machine learning algorithms.I hope that these ideas will help you become much more effective at getting your deep learning systems to work.

我希望在这门课程中 可以教给你们一些策略,一些分析机器学习问题的方法可以指引你们朝着最有希望的方向前进,这门课中 我会和你们分享,我在搭建和部署大量深度学习产品时,学到的经验和教训,我想这些内容是这门课程独有的,比如说 很多大学深度学习课程,很少提到这些策略,事实上 机器学习策略在深度学习的时代也在变化,因为现在对于深度学习算法来说 能够做到的事情,比上一代机器学习算法大不一样,我希望这些策略能帮助你们提高效率,让你们的深度学习系统更快投入实用。


重点总结:

参考文献:

[1]. 大树先生.吴恩达Coursera深度学习课程 DeepLearning.ai 提炼笔记(3-1)– 机器学习策略(1)


PS: 欢迎扫码关注公众号:「SelfImprovementLab」!专注「深度学习」,「机器学习」,「人工智能」。以及 「早起」,「阅读」,「运动」,「英语 」「其他」不定期建群 打卡互助活动。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值