登录
首页 » Python » adaboost

adaboost

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

代码说明:

  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 个回复

  • guangdu
    HARDLIM - 阈值传递函数 表示close的最上面的矩阵; 用变量s来表示open的最上面的矩阵(HARDLIM- threshold transfer function that close the top of the matrix express variable s to open the top of the matrix)
    2007-07-11 17:57:43下载
    积分:1
  • chinese-proprem
    解决中文问题的一些技巧, 非常经典 谢谢支持 希望对您有所帮助(Chinese language skills to solve the problem of some very classic thank you want to help you support)
    2009-11-23 11:28:25下载
    积分:1
  • BPSO
    说明:  基于粒子群算法的配网重构策略,主要解决系统网损,电压偏移量,三相不平衡。(distributed neetwork)
    2019-05-23 19:39:21下载
    积分:1
  • mallat
    说明:  用于对信号的小波分解和重构,是很经典的算法,其思路清晰,符合数学基本思想。(Used for signal decomposition and reconstruction algorithm is very classic, and its clear thinking, in line with the basic mathematical ideas.)
    2011-03-30 22:56:44下载
    积分:1
  • Alittlework
    matlab 程序手敲,简单介绍gui的使用以及其中的一些算法,文中用到了简单的二值最小二乘算法计算拟合数据(Hand knock matlab program, as well as a brief introduction gui use some algorithm, the paper uses a simple algorithm to calculate the least squares fitting binary data)
    2014-11-06 19:12:05下载
    积分:1
  • zhengdongxinghao
    把加速度信号变为速度信号和位移信号。用的是反频谱法(Acceleration signal into a displacement signal)
    2012-09-03 21:07:02下载
    积分:1
  • 47651470lagrange.zip
    unit commitment problem
    2012-11-22 16:00:31下载
    积分:1
  • 1144
    色散介质的FDTD仿真计算,一维辅助微分方法(FDTD )
    2015-04-11 16:23:22下载
    积分:1
  • ddfdfss
    说明:  倒立摆模糊控制程序,基于matlab编写,用于模糊控制仿真(inverted pendulum control procedures, based on Matlab prepared for Fuzzy Control Simulation)
    2006-04-16 11:53:44下载
    积分:1
  • STFT
    计算信号的短时傅里叶变换。用法见函数说明。(Short-time Fourier transform calculation signals. Usage See function description.)
    2013-07-25 23:32:24下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载