mlr_learners_regr.qgam | R Documentation |
Quantile Regression with generalized additive models.
Calls qgam::qgam()
from package qgam.
For the form
parameter, a gam formula specific to the Task is required (see example and ?mgcv::formula.gam
).
If no formula is provided, a fallback formula using all features in the task is used that will make the Learner behave like Linear Quantile Regression.
The features specified in the formula need to be the same as columns with col_roles "feature" in the task.
The quantile for the Learner, i.e. qu
parameter from qgam::qgam()
, is set using the value specified in learner$quantiles
.
This Learner can be instantiated via lrn():
lrn("regr.qgam")
Task type: “regr”
Predict Types: “response”, “se”, “quantiles”
Feature Types: “logical”, “integer”, “numeric”, “factor”
Id | Type | Default | Levels | Range |
form | untyped | - | - | |
lsig | numeric | - | (-\infty, \infty) |
|
err | numeric | - | [0, 1] |
|
cluster | untyped | NULL | - | |
multicore | logical | - | TRUE, FALSE | - |
ncores | numeric | - | (-\infty, \infty) |
|
paropts | untyped | list() | - | |
link | untyped | "identity" | - | |
argGam | untyped | - | - | |
block.size | integer | 1000 | (-\infty, \infty) |
|
unconditional | logical | FALSE | TRUE, FALSE | - |
mlr3::Learner
-> mlr3::LearnerRegr
-> LearnerRegrQGam
new()
Creates a new instance of this R6 class.
LearnerRegrQGam$new()
clone()
The objects of this class are cloneable with this method.
LearnerRegrQGam$clone(deep = FALSE)
deep
Whether to make a deep clone.
lona-k
Fasiolo, Matteo, Wood, N. S, Zaffran, Margaux, Nedellec, Raphael, Goude, Yannig (2017). “Fast Calibrated Additive Quantile Regression.” Journal of the American Statistical Association, 116, 1402–1412. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/01621459.2020.1725521")}.
Dictionary of Learners: mlr3::mlr_learners.
as.data.table(mlr_learners)
for a table of available Learners in the running session (depending on the loaded packages).
Chapter in the mlr3book: https://mlr3book.mlr-org.com/basics.html#learners
mlr3learners for a selection of recommended learners.
mlr3cluster for unsupervised clustering learners.
mlr3pipelines to combine learners with pre- and postprocessing steps.
mlr3tuning for tuning of hyperparameters, mlr3tuningspaces for established default tuning spaces.
# simple example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.