Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issue when trying to use nixtla_client_plot #48

Open
Gchirinos1996 opened this issue Nov 26, 2024 · 0 comments
Open

Performance issue when trying to use nixtla_client_plot #48

Gchirinos1996 opened this issue Nov 26, 2024 · 0 comments

Comments

@Gchirinos1996
Copy link

Gchirinos1996 commented Nov 26, 2024

I'm experimenting with nixtla_client_forecast() and nixtla_client_plot(). When I'm using monthly data and try to visualize the forecast, I get an error:

dat <- 
  data.frame(
    ds = seq.Date(from = as.Date("2018-01-01"), to = as.Date("2024-10-01"), by = "month"),
    y = rnorm(n = 82, mean =3, sd = 1)*500000,
    unique_id = rep("1",82)
  )

nixtla_client_fcst <- 
  nixtla_client_forecast(df = dat, 
                         h = 6, 
                         level = c(95),
                         add_history = T)

This throws an error:

nixtla_client_plot(df = dat, 
                   fcst = nixtla_client_fcst)

Error: Invalid input: time_trans works with objects of class POSIXct only

@Gchirinos1996 Gchirinos1996 changed the title Performance issue when trying to use 'level' or 'quantile' Performance issue when trying to use nixtla_client_plot Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant