Giter Club home page Giter Club logo

Comments (9)

nikitagupta55 avatar nikitagupta55 commented on June 30, 2024 1

@dashaub It works completely fine now as expected. Thanks. Would you mind putting some relevant answer here : https://stackoverflow.com/questions/45429069/ts-object-not-recognised-in-hybridmodel-of-forecasthybrid-package ; I asked this question on stackoverflow.

from forecasthybrid.

dashaub avatar dashaub commented on June 30, 2024 1

done

from forecasthybrid.

dashaub avatar dashaub commented on June 30, 2024

Can't run your example right now, but it looks like the problem is probably the tk_ts_df object: the input timeseries in hybridModel() should only be a ts object or a numeric vector. Try converting it to one of these.

from forecasthybrid.

nikitagupta55 avatar nikitagupta55 commented on June 30, 2024

@dashaub It doesn't support timetk object ? Like other models (arima,hw) from forecast package do?

from forecasthybrid.

dashaub avatar dashaub commented on June 30, 2024

If the base models arima, ets, etc support it, it should be a pretty easy fix to add support. I'll take a look and let you know.

from forecasthybrid.

nikitagupta55 avatar nikitagupta55 commented on June 30, 2024

@dashaub Base models completely supports it. Also I believe that, hybridModel will also not support sweep package. If you could make that work too, it will be great.

For eg: I use sweep to make my forecast result tidy like below:

forecast <- forecast(fit, h = 10, level = c(70,85))
forecast_tidy <- sw_sweep(forecast , fitted = TRUE , timetk_idx = TRUE)

This works completely fine on ARIMA, ets etc

from forecasthybrid.

dashaub avatar dashaub commented on June 30, 2024

Fixed on Github now, should be up on next CRAN release in about a month.

from forecasthybrid.

nikitagupta55 avatar nikitagupta55 commented on June 30, 2024

Awesome, will this support sweep also?

from forecasthybrid.

dashaub avatar dashaub commented on June 30, 2024

Yes, both should work. Try it out and confirm if you like

devtools::install_github("ellisp/forecastHybrid/pkg")

from forecasthybrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.