Hi, guys
I had log transformed my response variable in my training fitted object, and got some good results with my metrics, however I would like to see my forecasts in my original data, how I could do that, actually I'm new with forecasts, and I do not know if my approach it is correct method, any advices in solving this issue?
I did a log transformation in my tbl data:
log transformation in my response variable
iniciativa_tsbl <- iniciativa_tsbl %>%
mutate(log_n = log1p(n)) %>%
select(-n)
After that I pass my object as a tsibble to a train data and fitted
train <- iniciativa_tsbl %>%
filter_index("2020-01-26" ~ "2020-08-30")
Fit my trainig data in a model
naive_fit <- train %>%
model(
naive = NAIVE(log_n)
)
Produce forecasts, how to have my forecasts in original scale?
naive_fit <- train %>%
model(
naive = NAIVE(log_n)
)
I would appreciate some help here,
Regards