机器学习笔记(Washington University)- Classification Specialization-week five

1. Ensemble classifier 

Each classifier votes on prediction

Ensemble model = sign(w1f1(xi) + w2f2(xi) + w3f3(xi))

www3 is the learning coefficients

f1(xi), f2(xi), f3(xi)) is three classifiers

 

2. Boosting

Focus on hard or more important pointsand keep adding new classfier.

Boosting is more robust to overfitting but we still need carefully to choose boosting captical T

using validation set or cross validation.

 

3. Adaboost

1. Start with weight for all points: αi = 1/N

For t = 1 ... T

  • Learn ft(x) with data weights αi
  • Compute coefficient w
    • Note :

      Adaboost use the formual below to compute coefficient wt of classifier ft(x)

      wt  = 1/2*ln(1- weighted_error(ft)/weighted_error(ft))

  • Recompute weights αi
    •   α= αie-Wt, if ft(xi)=yi else αieWt
  • Normalizing weights:
    •   αi = αi / (α1 +α2 ...  αN)

    

Final model predicts the value by:

y = sign(wf1(x) + wft(x) ... wfT(x))

 

Weighted classification error:

weighted_error = total weight of mistakes / total weights of all data points

 

Normalizing weights αi

normalize weights to add up to 1 after every iterationn

α= αi / (α1 +α2 ...  αN)

 

4. Adaboost Theorem

if we can find a weak leatner with weighted_error < 0.5 (beat random guess) at every iteration t,

 the training error of boosted classifier goes to zero as the iterations of boosting goes to infinity.

 

转载于:https://www.cnblogs.com/climberclimb/p/6864549.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值