adaboost

版本 1.0 (2.2 MB) 作者: Jaroslaw Tuszynski
Adaboost classification algorithms using 1 or 3 node decision trees
1.1K 次下载
更新时间 2016/11/16

查看许可证

Adaboost package consists of two multi-class adaboost classifiers:
* AdaBoost_samme.m - a class implementing multi-class extension to classic adaboost.M1
algorithm (which was for two-class problems) which was first described in a paper
by Ji Zhu, Saharon Rosset, Hui Zou and Trevor Hastie, “Multi-class
AdaBoost”, January 12, 2006.
https://web.stanford.edu/~hastie/Papers/samme.pdf
* AdaBoost_mult.m - solves same problem using a bank of two-class adaboost
classifiers. A three class problem will use three 2-class classifiers
solving class 1 vs. 2 & 3, class 2 vs. 1 & 3 and class 3 vs. 1 and 2
problems, than each sample is tested with each of the three classifiers
and class is assigned based on the one with the maximum score.
Boosting classifiers work by using a multiple "weak-learner" classifiers.
In this package we provide two weak-learner classifiers:
* decision_stump.m - a class implementing single node decision "tree".
* two_level_decision_tree.m - a class implementing three nodes in two
layers decision "tree" class.

Several helper functions:
* train_stump_2.m - fast low level decision stump function for 2-class problems
* train_stump_N.m - fast low level decision stump function for N-class problems
* save_adaboost_model.m - saves classifier to a CSV file
* load_adaboost_model.m - loads classifier from a CSV file

There are also four demo scripts:
* demo_adaboost_mult_with_decision_stumps.m - demo and testing of AdaBoost_mult classifier with decision_stump weak-learners
* demo_adaboost_mult_with_decision_trees.m - demo and testing of AdaBoost_mult classifier with two_level_decision_tree weak-learners
* demo_adaboost_sammy_with_decision_stump.m - demo and testing of AdaBoost_samme classifier with decision_stump weak-learners
* demo_adaboost_sammy_with_decision_trees.m - demo and testing of AdaBoost_samme classifier with two_level_decision_tree weak-learners

引用格式

Jaroslaw Tuszynski (2024). adaboost (https://www.mathworks.com/matlabcentral/fileexchange/60263-adaboost), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Classification 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0