Description Usage Arguments Details Value References See Also Examples
predict
is an interface for predicting from a agtboost
model.
1 2 |
object |
Object or pointer to object of class |
newdata |
Design matrix of data to be predicted. Type |
... |
additional parameters passed. Currently not in use. |
The prediction function for agtboost
.
Using the generic predict
function in R is also possible, using the same arguments.
For regression or binary classification, it returns a vector of length nrows(newdata)
.
Berent Ånund Strømnes Lunde, Tore Selland Kleppe and Hans Julius Skaug, "An Information Criterion for Automatic Gradient Tree Boosting", 2020, https://arxiv.org/abs/2008.05926
1 2 3 | ## A simple gtb.train example with linear regression:
## Random generation of zero-inflated poisson
2+2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.