Description Usage Arguments Value See Also

Cross-validated estimation of the empirical misclassification error for boosting parameter selection.

1 2 |

`x` |
a data matrix containing the variables in the model. |

`y` |
vector of multi class responses. |

`balance` |
logical value. If TRUE, The K parts were roughly balanced, ensuring that the classes were distributed proportionally among each of the K parts. |

`K` |
K-fold cross-validation |

`nu` |
a small number (between 0 and 1) defining the step size or shrinkage parameter. |

`mstop` |
number of boosting iteration. |

`interaction.depth` |
used in gbm to specify the depth of trees. |

`trace` |
if TRUE, iteration results printed out. |

`plot.it` |
a logical value, to plot the cross-validation error if |

`se` |
a logical value, to plot with 1 standard deviation curves. |

`...` |
additional arguments. |

object with

`residmat ` |
empirical risks in each cross-validation at boosting iterations |

`fraction` |
abscissa values at which CV curve should be computed. |

`cv` |
The CV curve at each value of fraction |

`cv.error` |
The standard error of the CV curve |

...

bst documentation built on May 30, 2017, 12:04 a.m.

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.