登录
首页 » Python » adaboost

adaboost

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

  • cengfenfa
    层次分析法,直接可以用的matlab程序,包含两个文件(AHP)
    2009-11-18 18:40:26下载
    积分:1
  • tuxiangpipeidejingdiansuanfahegaijin
    图像匹配的经典算法和改进,上海交通大学内部数据库提供(Classical image matching algorithm and improved internal databases, Shanghai Jiaotong University)
    2011-01-19 18:18:23下载
    积分:1
  • TwoCircleIntersection
    说明:  通用Matlab求出:两个圆的交点坐标(不用solve语句)(Using MatLab program to get the intersection of two circle.)
    2009-08-14 19:51:40下载
    积分:1
  • rayleigh-chan
    程序仿真了瑞利信道,分析和大量实测表明,多径效应使接收信号包络变化接近瑞利分布。在典型移动通信中,衰落深度达30dB左右,衰落速率约30~40次/秒。(Rayleigh channel simulation procedures, analysis and extensive test shows that the received signal multipath effect changes in the envelope close to the Rayleigh distribution. In a typical mobile communication, fading depth of about 30dB, the decline rate of about 30 to 40 times/sec.)
    2013-09-21 00:25:14下载
    积分:1
  • telephone-line-fault-testing
    电话线出现断线或短路故障时,线路的阻抗则发生很大变化,利用电桥法测试出电阻的大小,进而得出线路故障的地方(Telephone lines appear disconnection or short circuit fault, the line impedance is changed, test out the size of resistance by Wheatstone bridge method, and then draw the line fault place )
    2015-02-02 14:03:24下载
    积分:1
  • uwb4
    uwb信号中高斯脉冲的产生,频谱等等的程序(Gaussian uwb pulse signal generation, spectrum of procedures and so on)
    2009-03-29 21:07:03下载
    积分:1
  • shuangpu
    说明:  直接法求双谱,间接法求双谱,还有基于AR模型法求双谱。程序里面还提供了一种很方便的求对角线谱的方法,大家可以借鉴。总之,你下载了,绝对不后悔的。(Direct method bispectrum, bispectrum Indirect Method, as well as AR Model Method based on dual spectrum. Program which also provides a convenient way to find the diagonal spectrum, we can learn from. In short, you download, and definitely do not regret it.)
    2011-02-22 10:05:37下载
    积分:1
  • agc_project
    automatic generation control
    2021-04-18 09:18:58下载
    积分:1
  • pure-aloha-and-slotted-aloha
    pure aloha 和slotted aloha算法的 matlab代码。结果显示了两种算法吞吐量的对比,通过修改标签数也可以得出吞吐量的变化值。 纯ALOHA协议(Pure ALOHA) 当传输点有数据需要传送的时候,它会向立即向通讯频道传送。 接收点在收到数据后,会ACK传输点。 如果接收的数据有错误,接收点会向传输点发送NACK。 当网络上的两个传输点同时向频道传输数据的时候,会发生冲突,这种情况下,两个点都停止一段时间后,再次尝试传送。 因为有太多的传输冲突.(pure aloha and slotted aloha algorithm matlab code. The results show the comparison of the two algorithms throughput, by modifying the number of labels can also come to change the value of the throughput. Pure ALOHA protocol (Pure ALOHA) When the transfer point has data to transmit, when it would have to immediately transfer to the communications channel. After receiving the data reception point will ACK transmission points. If the received data has an error, the receiver sends NACK point to point transmission. After transmission when two points on the network at the same time to the channel to transmit data, it will conflict, in this case, two points are stopped for some time, try the transfer again. Because there are too many transmission conflict.)
    2021-04-08 18:59:01下载
    积分:1
  • ihDemo
    MATLab 信息隐藏实验特别好 MATLab very good information hiding experiment(MATLab very good information hiding experiment MATLab very good information hiding experiment)
    2013-12-06 17:02:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载