登录
首页 » Python » adaboost

adaboost

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

  • tcm8psk
    用matlab实现了TCM8PSK编码调制的解调,代码可以直接使用(Achieved with matlab TCM8PSK coded modulation and demodulation, code can be used directly)
    2010-07-25 14:23:12下载
    积分:1
  • Viscoelastic
    粘弹性模型三元模型umat子程序,包括abaqus用户手册中的程序例子以及编写的程序代码和对应的inp文件(Viscoelastic model trigram umat subroutines, including abaqus user manual procedures and examples of programs written in code and corresponding inp file)
    2014-08-27 09:43:48下载
    积分:1
  • Basic-image-processing-using-matlab
    Basic image processing techniques using matlab. They are very useful for a person who is new to image processing .
    2011-02-10 23:23:12下载
    积分:1
  • pumidu
    谱密度的计算 用于水文时间序列的周期分析(Cycle analysis of the calculation of the spectral density for hydrological time series)
    2012-06-03 10:21:10下载
    积分:1
  • SPM
    非线性光纤光学,自相位调制(spm)的matlab实现代码(Nonlinear fiber optics, self-phase modulation (spm) to achieve the matlab code)
    2020-10-30 16:49:56下载
    积分:1
  • leach-code
    LEACH算法的MATLAB仿真源代码程序很难找到的(LEACH code)
    2011-05-10 12:11:57下载
    积分:1
  • pfdemo
    程序为粒子滤波器跟踪算法的演示程序,粒子滤波器算法适用于非线性非高斯情况下的跟踪估计。本程序为pf专家程序,演示pf跟踪的核心思想,与大家共享。(procedures for tracking particle filter algorithm Demonstration Program, particle filter algorithm applicable to the non-linear Gaussian case tracking estimates. The procedures for pf experts procedures, presentations pf tracking core ideas and share.)
    2007-01-15 21:32:00下载
    积分:1
  • RBF
    RBF neural network with an example
    2011-12-23 22:30:01下载
    积分:1
  • CODE--of-MATLAB-R2012a-book
    MATLAB入门教程的附带程序,适合初学者学习matlab( Fringe code of a MATLAB book .It is fit for beginners to learn matlab.)
    2015-04-03 10:48:11下载
    积分:1
  • matlabcode4
    自学Matlab必备的个小程序代码,里面有很多个,需要的下载,还有几个压缩包随后上传,最后一个压缩包(Small program code, which must self-Matlab need to download, there are several compressed packets are then uploaded last a compressed package)
    2012-11-30 19:09:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载