登录
首页 » Python » adaboost

adaboost

于 2014-07-09 发布 文件大小:2KB
0 281
下载积分: 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 个回复

  • shuixianhuashu
    用两种向量化和一种循环的思路计算水仙花数,并给出所需时间比较 水仙花数是指一个三位数,其各个数的立方和等于该数(Quantified in two and a loop to the idea of calculating the number of daffodils and narcissus are given the time required for comparison is a three-digit number, the individual cubes, and equal to the number of)
    2010-11-08 10:50:28下载
    积分:1
  • pv
    说明:  光伏发电系统,电流电压输出曲线波形吐血土建(Photovoltaic systems, current and voltage waveform output curve vomiting civil)
    2013-07-30 15:03:03下载
    积分:1
  • 3D_SIFT_demo
    本MATLAB程序 用MATLAB 来实现3D 图像的匹配 用高斯卷积 来寻找 关键点 ,再利用关键点处的特征向量 通过3D向量的匹配 来实现3D 图像的配准(The MATLAB program using MATLAB to realize the matching of 3D images using Gaussian convolution to find the key points, re-use the key points of the feature vector through the 3D vector matching to realize 3D image registration)
    2007-08-01 09:49:17下载
    积分:1
  • matlabhelp
    说明:  matlab中文帮助,非常有用哦!!!!(matlab Chinese help, very useful oh! ! ! !)
    2010-05-04 11:14:13下载
    积分:1
  • suanfabaogao
    完美的matlab学习工具书,适合广大学生和老师作为指导学习。(Perfect learning tool matlab, suitable for the students and the teacher as the guidance of learning.)
    2016-03-02 10:20:48下载
    积分:1
  • y7572030077
    主要是讲v-blast的系统仿真程序,很全面,很有用,大家可以用用看(Is mainly v-blast system simulation program, very comprehensive, very useful, you can use to see)
    2010-05-18 16:06:00下载
    积分:1
  • ofdm_demod
    OFDM Demodulation Code in Matlab
    2015-03-12 13:52:45下载
    积分:1
  • RINEXE
    Reading RINEX file and exctracting Ephimeris
    2012-02-04 02:14:35下载
    积分:1
  • yijielvboqi
    实现一阶滤波器系数的可调,虽数据段的突出变化,实时调节滤波器系数,实现对数据的平滑滤波(The first-order filter coefficients can be adjusted, although the prominent changes in the data segment, real-time adjustment of filter coefficients, the filtering of data)
    2015-04-17 10:39:29下载
    积分:1
  • bishegonglvqiankui
    级联多电平并网逆变器直接功率控制,有功武功可以实现解耦控制,动态和静态性能良好。(cascade multilevel invertor direct power control)
    2015-07-09 10:11:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载