Description Usage Arguments Value Author(s) See Also

Estimates the optimal number of boosting iterations for a `gbm`

object
and optionally plots various performance measures

1 |

`object` |
A |

`plot.it` |
An indicator of whether or not to plot the performance
measures. Setting |

`oobag.curve` |
Indicates whether to plot the out-of-bag performance measures in a second plot. |

`overlay` |
If TRUE and oobag.curve=TRUE then a right y-axis is added to the training and test error plot and the estimated cumulative improvement in the loss function is plotted versus the iteration number. |

`method` |
Indicate the method used to estimate the optimal number of
boosting iterations. |

`gbm.perf`

Returns the estimated optimal number of iterations.
The method of computation depends on the `method`

argument.

Greg Ridgeway gregridgeway@gmail.com

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.