登录
首页 » Python » adaboost

adaboost

于 2014-07-09 发布 文件大小:2KB
0 265
下载积分: 1 下载次数: 42

代码说明:

  AdaBoost元算法属于boosting系统融合方法中最流行的一种,说白了就是一种串行训练并且最后加权累加的系统融合方法。 具体的流程是:每一个训练样例都赋予相同的权重,并且权重满足归一化,经过第一个分类器分类之后, 计算第一个分类器的权重alpha值,并且更新每一个训练样例的权重,然后再进行第二个分类器的训练,相同的方法....... 直到错误率为0或者达到指定的训练轮数,其中最后预测的标签计算是各系统*alpha的加权和,然后sign(预测值)。 可以看出,训练流程是串行的,并且训练样例的权重是一直在变化的,分错的样本的权重不断加大,正确的样本的权重不断减小。 AdaBoost元算法是boosting中流行的一种,还有其他的系统融合的方法,比如bagging方法以及随机森林。 对于非均衡样本的处理,一般可以通过欠抽样(undersampling)或者过抽样(oversampling),欠抽样是削减样本的数目, 过抽样是重复的选取某些样本,最好的方法是两种进行结合的方法。 同时可以通过删除离决策边界比较远的样例。 (AdaBoost boosting systems dollar fusion algorithm is the most popular one, it plainly systems integration approach is a serial train and final weighted cumulative. Specific process is: Each training example is given equal weight, and the weights satisfy normalization, after the first classifiers after Calculating a first classifier weights alpha value for each sample and updates right weight training, and then the second classifier training, the same way ....... 0, or until the specified error rate training rounds, wherein the label is the calculation of the final prediction system* alpha weighted and then sign (predicted value). As can be seen, the training process is serial, and weight training examples is always changing, the right of the wrong sample weight continued to increase, the right to correct sample weight decreasing. AdaBoost algorithm is an element, as well as other methods of boosting popular systems integration, such as bagging and random forest method. For )

文件列表:

adaboost.py,4827,2013-11-25
adaboost.readme,1198,2013-11-25

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MUSIC
    说明:  经典MUSIC算法仿真,并有信号相干情况下,采用前向以及前后向平滑技术估计波达方向。(Classical MUSIC algorithm simulation, and a signal coherent case, the forward and after smoothing technique to estimate DOA.)
    2011-04-15 09:35:38下载
    积分:1
  • DS_Beamforming
    基于均匀圆形麦克风阵列模型的延时-求和波束赋形成(Delay-Sum Beamforming based on the uniform circular microphone array model)
    2012-09-04 11:13:46下载
    积分:1
  • hsgldmoxing
    4种灰色关联度,包括邓氏关联度,绝对关联度等4种关联度模型联度模型。(Four kinds of grey correlation degree, including representing the correlation degree, absolute correlation degree and so on four kind of relational model coupling degree model)
    2015-04-08 21:33:55下载
    积分:1
  • main_greedy
    求最短路径,用matlab编写的贪婪算法。(greedy algorithm)
    2014-01-02 20:57:43下载
    积分:1
  • 3Dslice_show
    一个用matlab编写的用以显示3D slice的程序,非常使用(a matlab code to show 3d form a serial 2d image sequence,typically in medical image)
    2010-10-23 14:33:15下载
    积分:1
  • imagePprocessingPtoolbox
    说明:  图像配准程序,matlab编写,本人已验证过的好使的程序(images resgister)
    2011-03-03 22:12:42下载
    积分:1
  • MATLABgeneratemifhex
    说明:  MATLAB生成mif、hex(QUARTUS II)文件简介(MATLAB generate mif, hex (QUARTUS II) paper provides a brief)
    2010-03-30 20:07:33下载
    积分:1
  • Matlab函数逼近与拟合.part7
    说明:  Matlab 函数逼近与拟合... 有理函数逼近... 常用的正交多项式逼近..各种最小二乘拟合...连分式逼近... Padé逼近... 傅里叶逼近...(Matlab Function Approximation and Fitting code)
    2020-06-23 21:20:01下载
    积分:1
  • fnn
    算embedding dimension. 可檢驗時間序列數據的embedm fnn1 fnn2(embedding dimension)
    2009-10-15 20:36:34下载
    积分:1
  • 无线电覆盖的3D仿真RadioCoverage2DwithChampElecYU
    本程序实现了对无线电覆盖的3D仿真,包括反射效应的2D模拟以及基于接收端与发射端距离的功率衰减。并实现基于Matlab的3D仿真。(The program 3D simulation of radio coverage, including 2D simulation based on the receiving end and the transmitter end distance power attenuation of the reflection effect. And to achieve the 3D simulation based on Matlab.)
    2020-07-06 15:08:58下载
    积分:1
  • 696516资源总数
  • 106627会员总数
  • 16今日下载