Difference between revisions of "Random Forest"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
===The Bootstrap=== | ===The Bootstrap=== | ||
| − | " | + | The bootstrap is "a simple Monte Carlo technique to approximate the sampling distribution" (Murphy, p.192), especially useful when the estimator is a complex function of the parameters. The estimate is (Hastie et al., p.250): |
:: <math>\widehat{\text{Err}}_\text{boot} \dfrac{1}{B}\dfrac{1}{N}\sum^B_{b=1}\sum^N_{i=1}L(y_i, \hat{f}^{*b}(x_i)) </math> | :: <math>\widehat{\text{Err}}_\text{boot} \dfrac{1}{B}\dfrac{1}{N}\sum^B_{b=1}\sum^N_{i=1}L(y_i, \hat{f}^{*b}(x_i)) </math> | ||
Revision as of 21:37, 8 March 2021
Random Forests reduce the variance of a Decision Tree or other CART (Classification And Regression Trees) model by averaging together multiple estimates from individual Decision Trees. Trees are trained on a random subset of features and data cases. (Microsoft's Kinect body motion detector used a Random Forest.) Trees are often "bagged" (bootstrap aggregated). In a bootstrap, samples are drawn at random with replacement to produce more training data than exist.
The Bootstrap
The bootstrap is "a simple Monte Carlo technique to approximate the sampling distribution" (Murphy, p.192), especially useful when the estimator is a complex function of the parameters. The estimate is (Hastie et al., p.250):
- [math]\displaystyle{ \widehat{\text{Err}}_\text{boot} \dfrac{1}{B}\dfrac{1}{N}\sum^B_{b=1}\sum^N_{i=1}L(y_i, \hat{f}^{*b}(x_i)) }[/math]