When it reality I believe it should be sigma2, per the output of a NNETAR model:
library(fable)
#> Warning: package 'fable' was built under R version 3.6.2#> Loading required package: fabletools#> Warning: package 'fabletools' was built under R version 3.6.2
library(fabletools)
library(tsibbledata)
#> Warning: package 'tsibbledata' was built under R version 3.6.2
library(tsibble)
#> Warning: package 'tsibble' was built under R version 3.6.2fit<- as_tsibble(airmiles) %>%
model(nn= NNETAR(box_cox(value, 0.15)))
fit$nn[[1]]$fit$fit#> # A tibble: 1 x 1#> sigma2#> <dbl>#> 1 0.211
There error I was getting in my "production" dataset that lead me to this was Unknown or uninitialised column: 'sigma'., but I haven't been able to fully reproduce it because it requires passing through a series of if statements in train_nnetar, forecast.NNETAR, and generate.NNETAR that I haven't been able to replicate with reprex and package data from tsibbledata.
The text was updated successfully, but these errors were encountered:
I believe there is an incorrect reference to the sigma attribute of
NNETAR
ingenerate.NNETAR()
. It is referred to assigma
fable/R/nnetar.R
Line 358 in 9ee1d6d
When it reality I believe it should be
sigma2
, per the output of aNNETAR
model:Created on 2020-08-18 by the reprex package (v0.3.0)
There error I was getting in my "production" dataset that lead me to this was
Unknown or uninitialised column: 'sigma'.
, but I haven't been able to fully reproduce it because it requires passing through a series ofif
statements intrain_nnetar
,forecast.NNETAR
, andgenerate.NNETAR
that I haven't been able to replicate with reprex and package data from tsibbledata.The text was updated successfully, but these errors were encountered: