IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
demo_bagging_svm.m File Reference

Detailed Description

Bagging example using SVM classifier and drawing classification regions.

Uses a 2D artificial data to show the classification boundaries of component classifiers and of the overall classifier.

test_bagging_result01.png
Figure 1 - classification domains of 6 component classifiers, each one trained on 5% of the data points randomly picked.
test_bagging_result02.png
Figure 1 - classification domain of classifier resulting from bagging the 6 classifiers represented in Figure 1.

Definition in file demo_bagging_svm.m.

Go to the source code of this file.