Get predictions from an xgbm object
1 2 |
x |
A object of class 'xgbm'. |
newdata |
A data frame. If not specified, the original training data is used. |
n.trees |
The number of trees to use. If not specified, the number that optimizes cross-validation error is used. |
type |
String specifying either "link" or "response". Defaults to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.