Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Bootstrap aggregating
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Algorithm (classification) == [[File:Bagging for Classification with descripitons.png|thumb|Flow chart of the bagging algorithm when used for classification]] For classification, use a training set <math>D</math>, Inducer <math>I</math> and the number of bootstrap samples <math>m</math> as input. Generate a classifier <math>C^*</math> as output<ref name="Bauer">{{cite journal|last1=Bauer|first1=Eric|last2=Kohavi|first2=Ron|date=1999|title=An Empirical Comparison of Voting Classification Algorithms: Bagging, Boosting, and Variants|journal=Machine Learning|volume=36|pages=108β109|doi=10.1023/A:1007515423169|s2cid=1088806|doi-access=free}}</ref> # Create <math>m</math> new training sets <math>D_i</math>, from <math>D</math> with replacement # Classifier <math>C_i</math> is built from each set <math>D_i</math> using <math>I</math> to determine the classification of set <math>D_i</math> # Finally classifier <math>C^*</math> is generated by using the previously created set of classifiers <math>C_i</math> on the original dataset <math>D</math>, the classification predicted most often by the sub-classifiers <math>C_i</math> is the final classification <pre> for i = 1 to m { D' = bootstrap sample from D (sample with replacement) Ci = I(D') } C*(x) = argmax #{i:Ci(x)=y} (most often predicted label y) yβY </pre>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)