Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- SAS Data Science
- /
- Difference between boosting through start groups and gradient boosting

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 01-07-2014 11:51 PM
(1945 views)

Hi All,

New year greeting to all the community folks. I have a question to ask: There are 2 ways by which boosting approach can be implemented for classifier models like decision trees in SAS E-Miner.

One is through the use of gradient boosting node. while the other is through using start and end group nodes (decision tree embedded between start and end groups).

Can someone help me understand what is the difference amongst the above 2 options.

Thanks,

Aditya.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

*Bagging* (Breiman 1996) is a common ensemble algorithm, in which you do the following:

- Develop separate models on
*k*random samples of the data of about the same size.

2. Fit a classification or regression tree to each sample. I tend to bag only trees but the start and end group nodes. allow other algorithms.

3. Average or vote to derive the final predictions or classifications.

*Boosting* (Freund and Schapire, 1996) ,also supported through start > tree > end , goes one step further and weights observations that are misclassified in the previous models more heavily for inclusion into subsequent samples. The successive samples are adjusted to accommodate previously computed inaccuracies. *Gradient boosting* (Friedman 2001) resamples the training data several times to generate results that form a weighted average of the resampled data set. Each tree in the series is fit to the residual of the prediction from the earlier trees in the series. The residual is defined in terms of the derivative of a loss function. For squared error loss and an interval target, the residual is simply the target value minus the predicted value. Because each successive sample is weighted according to the classification accuracy of previous models, this approach is sometimes called *stochastic gradient boosting*.

Random forests is my favorite data mining algorithm especially, when I have little subject knowledge of the application. You grow many large decision trees at random and vote over all trees in the forest. The algorithm works as follows:

- You develop random samples of the data and grow
*k*decision trees. The size of*k*is large, usually greater than or equal to 100. A typical sample size is about two-thirds of the training data. - At each split point for each tree you evaluate a random subset of candidate inputs (predictors) are evaluated. You hold the size of the subset constant across all trees.
- You grow each tree is as large as possible without pruning.

In a random forest this case you are perturbing not only the data but also the variables that are used to construct each tree. The error rate is measured on the remaining holdout data not used for training. This remaining one-third of the data is called the out-of-bag sample. Variable importance can also be inferred based on how often an input was used in the construction of the trees.

1 REPLY 1

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

*Bagging* (Breiman 1996) is a common ensemble algorithm, in which you do the following:

- Develop separate models on
*k*random samples of the data of about the same size.

2. Fit a classification or regression tree to each sample. I tend to bag only trees but the start and end group nodes. allow other algorithms.

3. Average or vote to derive the final predictions or classifications.

*Boosting* (Freund and Schapire, 1996) ,also supported through start > tree > end , goes one step further and weights observations that are misclassified in the previous models more heavily for inclusion into subsequent samples. The successive samples are adjusted to accommodate previously computed inaccuracies. *Gradient boosting* (Friedman 2001) resamples the training data several times to generate results that form a weighted average of the resampled data set. Each tree in the series is fit to the residual of the prediction from the earlier trees in the series. The residual is defined in terms of the derivative of a loss function. For squared error loss and an interval target, the residual is simply the target value minus the predicted value. Because each successive sample is weighted according to the classification accuracy of previous models, this approach is sometimes called *stochastic gradient boosting*.

Random forests is my favorite data mining algorithm especially, when I have little subject knowledge of the application. You grow many large decision trees at random and vote over all trees in the forest. The algorithm works as follows:

- You develop random samples of the data and grow
*k*decision trees. The size of*k*is large, usually greater than or equal to 100. A typical sample size is about two-thirds of the training data. - At each split point for each tree you evaluate a random subset of candidate inputs (predictors) are evaluated. You hold the size of the subset constant across all trees.
- You grow each tree is as large as possible without pruning.

In a random forest this case you are perturbing not only the data but also the variables that are used to construct each tree. The error rate is measured on the remaining holdout data not used for training. This remaining one-third of the data is called the out-of-bag sample. Variable importance can also be inferred based on how often an input was used in the construction of the trees.

**Available on demand!**

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.