登录
首页 » Python » adaboost

adaboost

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

  • fixed_point
    - for floating point to fixed point - seperate to integer and fraction part
    2009-12-06 16:17:54下载
    积分:1
  • xiwei_fenpei
    本程序是用Q值法求得的关于席位的分配问题, 并对最结果进行了一定的考虑,是否公平,公平程度如何。(This program is to use Q value method about optimal seats, the allocation of And the results were certain consideration, whether fair, fair to what extent. )
    2010-12-03 19:31:29下载
    积分:1
  • pca2D
    matlab code for 2DPCA
    2015-04-04 20:28:22下载
    积分:1
  • thresh
    用matlab编写的最大方差法计算灰度分割门限代码,用该函数实现利用灰度阈值分割图像的功能。(Written by matlab calculate the maximum variance threshold gray code split, with the functions for image segmentation using gray scale features.)
    2010-12-27 17:46:42下载
    积分:1
  • fullcar
    FULL CAR MODEL OF SIMULATION USING MATLAB
    2015-02-08 13:10:47下载
    积分:1
  • exp2_eu
    Euler numerical integration method
    2015-02-25 17:42:48下载
    积分:1
  • RLS
    该程序是基于matlab的LMS自适应滤波器程序(matlab)(LMS program (matlab))
    2013-12-17 17:34:35下载
    积分:1
  • 01
    说明:  无线传感器分簇路由算法代码,可以运行的,效果还不错。(the codes of routing agorithm for wsn ,it can run,the results is good)
    2015-04-20 14:27:30下载
    积分:1
  • BPSK调制解调
    说明:  简要阐述BPSK调制解调原理 用MATLAB进行仿真,附上仿真源程序和仿真结果,对结果进行分析。(The principle of BPSK modulation and demodulation is briefly described Matlab is used for simulation. The simulation source program and simulation results are attached to analyze the results.)
    2020-12-29 09:49:00下载
    积分:1
  • genettic
    遗传算法的标准MATLAB程序,共有12个子m文件(Standard genetic algorithm MATLAB program, a total of 12 sub-m file)
    2008-03-21 20:20:35下载
    积分:1
  • 696516资源总数
  • 106425会员总数
  • 12今日下载