Andrew Ng 's machine learning lecture note (12)

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、付费专栏及课程。

余额充值