This function trains an Echo State Network (ESN) to a univariate time series.
Arguments
- formula
Model specification (currently not in use).
- ...
Further arguments passed to
train_esn()
.
Examples
library(tsibble)
#>
#> Attaching package: 'tsibble'
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, union
library(fable)
#> Loading required package: fabletools
AirPassengers %>%
as_tsibble() %>%
model("ESN" = ESN(value))
#> # A mable: 1 x 1
#> ESN
#> <model>
#> 1 <ESN({144, 57, 114}, {19.17, 0.0159})>