在适合数据集的正常模型中,如下所示:
> head(total)
# A tsibble: 6 x 15 [1D]
# Key: id [6]
Date Close Interest_Rate Consumer_Inflation `CPI(YOY)` `Wage_Index(QoQ)` `Wage_Index(YoY)` AiG_idx TD_Inflation CFTC_AUD_net_positions `RBA_Mean_CPI(Yo~ Commonwealth_Ba~
<date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 2009-04-01 69.4 0 0 0 0 0 0 0 0 0 0
2 2009-04-02 71.6 0 0 0 0 0 0 0 0 0 0
3 2009-04-03 71.0 0 0 0 0 0 0 0 0 0 0
4 2009-04-06 71.0 0 0 0 0 0 0 0 0 0 0
5 2009-04-07 71.6 3 0 0 0 0 0 0 0 0 0
6 2009-04-08 71.1 3 0 0 0 0 0 0 0 0 0
训练模型:
fit <- total_axy %>%
model(
fable::TSLM(Close)
)
report(axy_fit)
正在训练
1-10 of 3,409 rows | 1-10 of 16 columns
每行1个模型!我该如何解决这个问题?我只想要所有行的 1 个模型!!!