predict.qreg_gbm | R Documentation |
This function returns multiple quantile predictions as an object of class MultiQR
based on a ProbCast gbm fitted model. S3 Method for for qreg_gbm
objects
## S3 method for class 'qreg_gbm'
predict(
object,
newdata = NULL,
quantiles = NULL,
model_name = NULL,
pred_ntree = NULL,
perf.plot = FALSE,
sort = T,
sort_limits = NULL,
...
)
object |
object of class |
newdata |
data.frame of observations for which to make predictions |
quantiles |
the quantiles to predict. Default is all the quantiles present in |
model_name |
the name of the model to be used for prediction.
Unless specified, |
pred_ntree |
predict using a user-specified tree.
If NULL |
perf.plot |
plot GBM performance if |
sort |
sort quantiles using |
sort_limits |
|
... |
additional arguments; not currently used. |
this function returns predictive quantiles for each row in newdata
,
the result is returned as a MultiQR
object
Quantile forecasts in a MultiQR
object.
Ciaran Gilbert, ciaran.gilbert@strath.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.