Andrew Ng 's machine learning lecture note (12)

本文介绍了如何通过实施快速原型模型、利用交叉验证评估模型表现、绘制学习曲线来判断偏差或方差问题,以及通过错误分析确定哪些特征更为重要。此外,还讨论了在面对高方差问题时增加数据的重要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Which feature should we choose?

Well, sometimes it's really hard to tell which feature we should choose just by feeling, but we can use number to guide our decision about which feature we should choose. Andrew recommends we follow the following steps.

(1) We can implement a quick and dirty model for our job, (maybe less than 24 hours? )

(2)We use the cross validation set to see our model's performance, From spotting the trend most errors were made we can decide which feature we should choose.
(3)We can also plot the learning curve to know that whether we have a high bias or high variance problem, then we can decide to add more data or add the hidden units and so on.

(4)Consider that we are the expert then ask ourselves questions about whether these features are enough or not. 


Also, it's necessary to compare several methods'(Like in email spam problem whether we should distinguish mom and Mon and so on) performance, we can use a number from error analysis to tell which method is better.

Large data is useful?

We can have a sophisticated features or many hidden units in the neuron model and so on likely to cause a high variance problem . In this situation, more data is often more useful.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值