【机器学习】6 机器学习系统的设计

1 Recommend approach

  1. Start with a simple algorithm that you can implement quickly. Implemnt it and test it on your cross-validation data.
  2. Plot learning curves to decide if more data, more features, etc. are likely to help.
  3. Error analysis: Manually(人工) examine the examples ( in cross-validation set ) that your algorithm made errors on. See if you spot any systematic trend(系统化的趋势) in what type of examples it is making errors on

2 Error metrics for skewed classes(偏斜类的误差度量)

情况预测Predict实际Actual
正确肯定 True Positive, TPtruetrue
正确否定 True Negative, TNfalsefalse
错误肯定 False Positive, FPtruefalse
错误否定 False Negative, FNfalsetrue

2.1 Precision ( 查准率 )

  • P r e c i s i o n = T P T P + F P Precision=\frac{TP}{TP+FP} Precision=TP+FPTP

2.2 Recall ( 查全率 )

  • R e c a l l = T P T P + F N Recall=\frac{TP}{TP+FN} Recall=TP+FNTP

2.3 Trading Off Precision and Recall

  • F1 Score: 2 P R P + R 2\frac{PR}{P+R} 2P+RPR

3 Data for Machine Learning

  • Algorithms:
    (1) Perception ( Logistic regression )
    (2) Winnow
    (3) Memory-based
    (4) Naive Bayes
  • It’s not who has the best algorithm that wins. It’s who has the most data.
  • Large data rationable:
    (1) Use a learning algorithm with many parameters → J t r a i n ( θ ) J_{train}(\theta) Jtrain(θ) will be small
    (2) Use a very large training set → J t r a i n ( θ ) J t e s t ( θ ) J_{train}(\theta)J_{test}(\theta) Jtrain(θ)Jtest(θ)
    (3) from (1) + (2) → J t e s t ( θ ) J_{test}(\theta) Jtest(θ) wiil be small

4 Designing a high accuracy learning system

  1. 是否可以通过特征值预测信息
  2. 大量数据 + 多参数算法

5 Reference

吴恩达 机器学习 coursera machine learning
黄海广 机器学习笔记

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

社恐患者

赚钱不易呜呜呜

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值