Docsity

Ensemble Methods: Bagging & Boosting for Predicting Gene Expression Classes - Prof. John R, Study notes of Statistics

Partial preview of the text

Download Ensemble Methods: Bagging & Boosting for Predicting Gene Expression Classes - Prof. John R and more Study notes Statistics in PDF only on Docsity!

  • Ensemble Methods:Bagging & Boosting Xi Zhang Bioinformatics Spring

Outline^ Introduction 1

Bagging 2

Boosting 3

Application 4

Discussion 5

Introduction

™ Machine Learning^ ƒ^ It is a technique helping us to differentiate thetwo conditions^ ƒ^ A way of combining computation, statisticalinference, and algorithms to help predicting ™ Supervised learning^ ƒ^ A subdiscipline of machine learning in whichsome prior knowledge about the phenomenaunder investigation is available to guide thelearning process

Introduction

™ Ensemble methods are algorithmsthat construct a set of classifiers andthen classify new data points bytaking a vote of their predictions.^ ƒ^ Aim at improving the predictive performanceof a given statistical learning or model fittingtechnique.^ ƒ^ The general principle of ensemble methods isto construct a linear combination of somemodel fitting method, instead of using a singlefit of the method.

Introduction

™ Random Forests

(RF) ƒ^ The algorithm was developed by Leo Breiman andAdele Cutler ƒ^ A tree constructed model ƒ^ A machine learning ensemble classifier ƒ^ Each tree is grown on an independent bootstrapsample from the training data. ƒ^ The best split is found on

m^ randomly selected variables ƒ Process is repeated to create a “forest” of trees ƒ The prediction is found by averaging the predictionsfrom all of the trees.

Introduction

™ Random Forests (RF) Advantages^ ƒ^ For many data sets, it produces a highlyaccurate classifier^ ƒ^ It handles a very large number of inputvariables^ ƒ^ It estimates the importance of variables indetermining classification^ ƒ^ Using the above, it can be extended tounlabeled data, leading to unsupervisedclustering, outlier detection and data views^ ƒ^ Learning is fast

Bagging

™ Bagging is b

ootstrap agg

regating

ƒ^ Leo Breiman(1994) ƒ^ Derived from bootstrap (Efron, 1993) ƒ^ A machine learning ensemble meta-algorithmto improve classification by combiningclassifications of randomly generated trainingsets and regression models in terms ofstability and classification accuracy.

Bagging

™ What is a bootstrap sample?^ ƒ^ Consider a data set D with m data points.^ ƒ^ A bootstrap sample D

i^ can be create from D by choosing m points from D randomly, withreplacement. ƒ On average, 37% of the points in D will be iniD.

Bagging

™ Bagging Properties^ ƒ^ It is much like random forests, except you fitthe classifiers based on the total number ofvariables (instead of a subset)^ ƒ^ Create classifiers using training sets that arebootstrapped (drawn with replacement)^ ƒ^ Average results for each case

Bagging

™ Bagging Properties^ ƒ^ Each classifier is going to be generated withdifferent training sets obtained from theoriginal data set by using resamplingtechniques.^ ƒ^ Some of the original observations will notappear in the bootstrap sample, while otherobservations may appear multiple times.^ ƒ^ The final prediction is made by taking anaverage of the training set predictions.

Bagging

™ Bagging Disadvantages^ ƒ^ Not useful for improving linear models, sincethe method averages several predictors^ ƒ^ Computationally slower than a single tree

Boosting

™ A family of methods^ ƒ^ Talk it later ™ Based on the question posed byKearns^ ƒ^ Can a set of weak learners create a singlestrong learner?

Boosting

™ The Algorithm of gbm http://cran.r-project.org/web/packages/gbm/vignettes/gbm.pdf http://cran.r-project.org/web/packages/gbm/vignettes/gbm.pdf

Boosting

™ Boosting Properties^ ƒ^ Initially give every observation equal weight^ ƒ^ The training set chosen at a given timedepends on the performance of earlierclassifiers.^ ƒ^ Examples that are incorrectly predicted inprevious classifiers are chosen more often orweighted more heavily