Be the first to rate this file! 195 downloads (last 30 days) File Size: 96.54 KB File ID: #22997

Multiclass GentleAdaboosting

by Sebastien Paris

 

16 Feb 2009 (Updated 27 Jul 2009)

Code covered by BSD License  

A fast Gentle Adaboost classifier with two kind of weaklearners

Download Now | Watch this File

File Information
Description

A fast Gentle Adaboost classifier with two different weak-learners: i) decision stump and ii) perceptron. Multiclass is performed with the one-against-all strategy.

Usage
  ------

  model = gentleboost_model(X , y , [T] , [options]);

  
  Inputs
  -------

  X Features matrix (d x N)
  y Labels (1 x N). If y represent binary labels vector then y_i={-1,1}, i=1,...,N
  T Number of weak learners (default T = 100)
  options
              weaklearner Choice of weaklearner 0 : Decision Stump, 1 : Perceptron (default weaklearner = 0)

epsi Epsilon constant in the sigmoid function used in the perceptron (default epsi = 1)
              lambda Regularization parameter for the perceptron's weights update (default lambda = 1e-3)
max_ite Maximum number of iterations of the perceptron algorithm (default max_ite = 100)

  Outputs
  -------
  
  model Structure of model ouput
  
featureIdx Features index of the T best weaklearners (T x m) where m is the number of class.
For binary classification m is force to 1.
th Theta (T x m)
b Bias parameter (T x m)
a Decision Stump extra parameter (T x m)

Please run mexme_gentleboost to compile mex-files on your plateform.

Please run test_gentleboost_model to run the demo.

N.B. Last build of libsvm is also included and slightly modified to supress verbose.

MATLAB release MATLAB 7.5 (R2007b)
Other requirements A C/C++ compiler
Zip File Content  
Published M Files test_gentleboost_model
Other Files
auroc.m,
basicroc.m,
gentleboost_model.c,
gentleboost_predict.c,
html/test_gentleboost_model.png,
html/test_gentleboost_model_01.png,
html/test_gentleboost_model_02.png,
html/test_gentleboost_model_03.png,
html/test_gentleboost_model_04.png,
ini_proto.m,
iris.mat,
license.txt,
mexme_gentleboost.m,
NN_predict.c,
sampling.m,
samplingset.m,
srng_model.c,
svm.cpp,
svm.h,
svm_model_matlab.c,
svm_model_matlab.h,
svmpredict.c,
svmtrain.c,
test_gentleboost_model.m,
wine.mat
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
04 Mar 2009

- Update qs and qsindex with a better version of the algorithm

04 Apr 2009

- Correct a small bug in the perceptron weaklearner
- Speed improvement of 10% for the decision stump weaklearner

18 Jun 2009

-BSD licence

25 Jul 2009

Remove BSD licence file

27 Jul 2009

Remove GNU licence in auroc.m

Tag Activity for this File
Tag Applied By Date/Time
mathematics Sebastien Paris 17 Feb 2009 17:28:32
statistics Sebastien Paris 17 Feb 2009 17:28:32
optimization Sebastien Paris 17 Feb 2009 17:28:32
i tired to run mexme_gentleboost li zhang 02 Jul 2009 21:29:58
there has the following problem dmatlab701binwin32mexpl error ge li zhang 02 Jul 2009 21:29:58
howver li zhang 02 Jul 2009 21:29:58
howver Sebastien Paris 27 Jul 2009 15:04:39
i tired to run mexme_gentleboost Sebastien Paris 27 Jul 2009 15:04:41
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com