mlr_learners_regr.auto_arima | R Documentation |
Auto ARIMA model Calls forecast::auto.arima from package forecast.
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn()
:
mlr_learners$get("forecast.auto_arima") lrn("forecast.auto_arima")
Task type: “forecast”
Predict Types: “response”, “se”
Feature Types: “numeric”
Id | Type | Default | Levels | Range |
d | integer | NA | [0, \infty) |
|
D | integer | NA | [0, \infty) |
|
max.q | integer | 5 | [0, \infty) |
|
max.p | integer | 5 | [0, \infty) |
|
max.P | integer | 2 | [0, \infty) |
|
max.Q | integer | 2 | [0, \infty) |
|
max.order | integer | 5 | [0, \infty) |
|
max.d | integer | 2 | [0, \infty) |
|
max.D | integer | 1 | [0, \infty) |
|
start.p | integer | 2 | [0, \infty) |
|
start.q | integer | 2 | [0, \infty) |
|
start.P | integer | 2 | [0, \infty) |
|
start.Q | integer | 2 | [0, \infty) |
|
stepwise | logical | FALSE | TRUE, FALSE | - |
allowdrift | logical | TRUE | TRUE, FALSE | - |
seasonal | logical | FALSE | TRUE, FALSE | - |
mlr3::Learner
-> mlr3temporal::LearnerForecast
-> LearnerRegrForecastAutoArima
new()
Creates a new instance of this R6 class.
LearnerRegrForecastAutoArima$new()
forecast()
Returns forecasts after the last training instance.
LearnerRegrForecastAutoArima$forecast(h = 10, task, new_data = NULL)
h
(numeric(1)
)
Number of steps ahead to forecast. Default is 10.
task
(Task).
new_data
(data.frame()
)
New data to predict on.
Prediction.
clone()
The objects of this class are cloneable with this method.
LearnerRegrForecastAutoArima$clone(deep = FALSE)
deep
Whether to make a deep clone.
Chapter in the mlr3book: https://mlr3book.mlr-org.com/basics.html#learners
Package mlr3learners for a solid collection of essential learners.
Package mlr3extralearners for more learners.
Dictionary of Learners: mlr_learners
as.data.table(mlr_learners)
for a table of available Learners in the running session (depending on the loaded packages).
mlr3pipelines to combine learners with pre- and postprocessing steps.
Package mlr3viz for some generic visualizations.
Extension packages for additional task types:
mlr3proba for probabilistic supervised regression and survival analysis.
mlr3cluster for unsupervised clustering.
mlr3tuning for tuning of hyperparameters, mlr3tuningspaces for established default tuning spaces.
Other Learner:
LearnerForecast
,
mlr_learners_regr.VAR
,
mlr_learners_regr.arima
,
mlr_learners_regr.average
learner = mlr3::lrn("forecast.auto_arima")
print(learner)
# available parameters:
learner$param_set$ids()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.