登录
首页 » Python » adaboost

adaboost

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

  • BCHSim
    BCH(15,11,1)+交织编解码matlab代码(BCH (15,11,1) with interleaver matlab code )
    2021-02-23 22:19:40下载
    积分:1
  • new_AHP
    运用一种新的AHP评价方法对分层指标进行评级,新颖之处在于利用了三角模糊数的概念改进评价。(Employing a new evaluation method AHP hierarchical index ratings, novelty is the use of the concept of triangular fuzzy numbers improved evaluation.)
    2013-11-19 09:38:02下载
    积分:1
  • ser
    Serial port communication for kwp 2000 fast initialization. this code is not complete. I am trying to develop it
    2015-02-24 00:23:12下载
    积分:1
  • 光伏逆变MPPT_2
    说明:  包含单相光伏逆变器及最大功率点跟踪,可以实现电流内环及电压外环控制(Including single-phase photovoltaic inverter and maximum power point tracking, can achieve current inner loop and voltage outer loop control)
    2020-06-27 20:37:07下载
    积分:1
  • BP3
    基于BP的英文字母识别,绝对原创,欢迎大家下载,一起努力吧(BP plesse loading)
    2014-12-09 20:03:22下载
    积分:1
  • QPSK_Transmitter
    Perform QPSK Modulation and transmit it through carrier signal
    2015-01-25 21:37:59下载
    积分:1
  • MTI_radar
    MTI雷达(动目标检测雷达)能够抑制杂波保留目标信号,本人提供了单延迟线MTI对消器频响,双延迟线MTI对消器频响,利用参差重频消除盲速影响,讨论MTI雷达参差比取不同的值对盲速的影响的matlab仿真源代码。(err)
    2007-12-27 22:42:34下载
    积分:1
  • 第四章 控制系统的分析方法
    用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象(with Canny operator to detect the edges in the image P0404 : image thresholding segmentation P0405 : water line threshold method image segmentation P0406 : matrix Quadtree P0407 : images into text and non-text of the two categories P0408 : morphological gradient detection Binary Image Edge P0409 : morphology example-- Images from the PCB to delete all current lines, retaining only chip targets)
    2005-05-12 17:05:04下载
    积分:1
  • relayPuplinkPV2
    LTEA中的Relay仿真 按照3gpp 36.211等搭建的链路级仿真,单跳模型(LTEA the Relay emulation and other structures in accordance with 3gpp 36.211 link level simulation model for single-hop)
    2013-09-22 18:30:32下载
    积分:1
  • demodulation
    This is a matlab file for constellation of an 8psk modulation
    2009-07-16 00:07:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载