update.qreg_lightgbm | R Documentation |
This function returns updated fitted qreg_lightgbm
models, which are the
supplied previously fitted models updated with new data. S3 Method for qreg_lightgbm
objects
update.qreg_lightgbm(
object,
newdata,
model_name = NULL,
pckgs = NULL,
cores = 1
)
object |
fitted model of class |
newdata |
data.frame of new observations for which to update the model fit |
model_name |
the name of the model to be used for prediction.
Unless specified, |
pckgs |
specify additional packages required for each worker (e.g. c("data.table") if data stored as such). |
cores |
the number of available cores. Defaults to one, i.e. no parallelisation, although in this case the user
must still specify |
... |
additional arguments; not currently used. |
this function updates the fitted lightgbm model with the supplied new data. NOTE predictions saved within the lightgbm object are not updated within this function.
a named list containing fitted models as a list of qreg_lightgbm
objects.
Gordon McFadzean, gordon.mcfadzean@tneigroup.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.