fable | Tidy time series forecasting | Predictive Analytics library

 by   tidyverts R Version: v0.3.2 License: GPL-3.0

kandi X-RAY | fable Summary

kandi X-RAY | fable Summary

fable is a R library typically used in Analytics, Predictive Analytics applications. fable has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

The R package fable provides a collection of commonly used univariate and multivariate time series forecasting models including exponential smoothing via state space models and automatic ARIMA modelling. These models work within the fable framework, which provides the tools to evaluate, visualise, and combine models in a workflow consistent with the tidyverse.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fable has a low active ecosystem.
              It has 498 star(s) with 60 fork(s). There are 29 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 50 open issues and 303 have been closed. On average issues are closed in 114 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of fable is v0.3.2

            kandi-Quality Quality

              fable has 0 bugs and 0 code smells.

            kandi-Security Security

              fable has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              fable code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              fable is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              fable releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fable
            Get all kandi verified functions for this library.

            fable Key Features

            No Key Features are available at this moment for fable.

            fable Examples and Code Snippets

            No Code Snippets are available at this moment for fable.

            Community Discussions

            QUESTION

            F# Async cancellation define atomic computations
            Asked 2022-Feb-15 at 06:55

            I have cases like the following:

            ...

            ANSWER

            Answered 2022-Feb-15 at 06:55

            I also can't think of a better approach, the only thing I would do is add some helper function to make your intent a little clearer.

            Source https://stackoverflow.com/questions/71110908

            QUESTION

            Fable.Reactstrap not defined on Client fsproj SATE-stack
            Asked 2022-Feb-14 at 03:08

            I'm trying to use Fable.Reactstrap on Client project from SAFE.Template. I've added Fable.Reactstrap to Nuget, Paket, and NPM but still receive error FSHARP: The namespace 'Reactstrap' is not defined when executing dotnet run. It's an error from code:

            ...

            ANSWER

            Answered 2022-Feb-14 at 03:08

            The namespace is just Reactstrap, so this should work:

            Source https://stackoverflow.com/questions/71102537

            QUESTION

            How to specify annual seasonality for an ARIMA model of fable
            Asked 2022-Jan-30 at 23:54

            I am having trouble specifying seasonality in an ARIMA model of the fable package. I have a dataset with daily data and want to take into account annual seasonality. I make use of the Daily Electricity Price and Demand Data which can be found on Kaggle.

            ...

            ANSWER

            Answered 2022-Jan-30 at 23:54

            Without a reproducible example, it is hard to know what has happened here.

            To take account of annual seasonality in an ARIMA model for daily data, you would be much better off using Fourier terms than trying to add seasonal ARIMA terms with a large period. For a start, seasonal ARIMA components need an integer period. Also, they use lagged values at multiples of the seasonal period, and referencing observations a year (or several years) in the past is a very inefficient way to handle seasonality. Finally, the estimation is exceedingly slow (or will return an error) for ARIMA models with large seasonal periods.

            There is an example that uses Fourier terms with half-hourly electricity demand data at https://otexts.com/fpp3/complexseasonality.html#example-electricity-demand. You could easily adapt that to your situation with daily data.

            Source https://stackoverflow.com/questions/70917360

            QUESTION

            R libraries forecast::auto.arima vs fable:ARIMA what's the differences?
            Asked 2021-Dec-13 at 21:31

            The online documentation indicates that the algorithm under the hood is the same to estimate the (s)Arima models. During some tests, with a Kaggle dataset, I had different models: ARIMA function show me a sArima, auto.arima only Arima model.

            ...

            ANSWER

            Answered 2021-Dec-13 at 21:31

            forecast::auto.arima() requires a ts object. That is a vector with some time series attributes including the seasonal frequency. When you just pass a numeric vector, as you have here, it assumes the seasonal frequency is 1 (as for annual data) and will not fit a seasonal ARIMA model.

            On the other hand, the tsibble object contains a time index (in this case it looks like it is a date variable) and ARIMA() will use that index to determine what type of seasonality (if any) is present. With a date variable, it will select seasonal frequency of 7 to correspond to a time of week seasonality.

            To get the same thing with forecast::auto.arima(), use

            Source https://stackoverflow.com/questions/70333319

            QUESTION

            not able to install 'fable' package (ERROR: compilation failed for package ‘fable’)
            Asked 2021-Dec-10 at 22:55

            I am trying to install fable running the command install.packages("fable"), as it says in https://cran.r-project.org/web/packages/fable/readme/README.html

            however i am getting the following:

            It says clearly that it is because i don't have llapack, lblas and lgfortran in my computer. But i am not sure how to procede here. I'm using Ubuntu 20.04.3 LTS

            I'll appreciate any guidence.

            ...

            ANSWER

            Answered 2021-Dec-10 at 22:55

            To install from sources, you will need a GNU Fortran compiler installed. On Ubuntu this can be done with sudo apt install gfortran.

            Alternatively, you can install a precompiled binary from the RStudio Package Manager - some guidance on how this can be done can be found here: https://packagemanager.rstudio.com/client/#/repos/1/overview

            Source https://stackoverflow.com/questions/70310552

            QUESTION

            how to extract fitted values in a forecast model after multiple model simulations
            Asked 2021-Dec-09 at 09:42

            This is my original df and fitted model

            ...

            ANSWER

            Answered 2021-Dec-09 at 09:42

            QUESTION

            Date format error while forecasting using tsibble objects
            Asked 2021-Dec-07 at 13:28

            I have converted a normal DF into a tsibble object and used that for my time-series forecasting. While fitting the model I experience the date format error- "Error in decimal_date.default(x) : date(s) not in POSIXt or Date format". As you could see from the below code- the converted tsibble object clearly identifies column "Week.1" as week date type. Could you please help me clarify why I'm still getting the date format when I fit forecast models to the tsibble object?

            ...

            ANSWER

            Answered 2021-Dec-07 at 13:28

            You are mixing 2 different ways of doing forecasts. you either use fable or you use forecast. auto.arima is from the forecast package. Though it does work with fable, it is better to keep everything to the same package eco system. Fable is the successor of forecast. Your library loading problably conflicted somewhere.

            For arima forecasts check out chapter 9.7 from Forecasting: Principles and Practice 3rd edition.

            I adjusted your code to work with fable. I have included 2 ways of doing this. My preference is the second one, because then you can see the difference in AICc values and see that they are very close to each other.

            Source https://stackoverflow.com/questions/70255879

            QUESTION

            Time series forecasting using Fable in R; determining most optimum combination of models for mixed model
            Asked 2021-Dec-07 at 11:04

            I am doing some time series forecasting analysis with the fable and fabletools package and I am interested in comparing the accuracy of individual models and also a mixed model (consisting of the individual models I am using).

            Here is some example code with a mock dataframe:-

            ...

            ANSWER

            Answered 2021-Dec-07 at 11:04

            A couple of things to consider:

            • While it's definitely desirable to quickly evaluate the performance of many combination models, it's pretty impractical. The best option would be to evaluate your models individually, and then create a more simple combination using, e.g. the 2 or 3 best ones
            • As an example, consider that you can actually have weighted combinations - e.g. 0.75 * ets + 0.25 * arima. The possibilities are now literally endless, so you start to see the limitations of the brute-force method (N.B. I don't think fable actually supports these kind of combinations yet though).

            That, said, here's one approach you could use to generate all the possible combinations. Note that this might take a prohibitively long time to run - but should give you what you're after.

            Source https://stackoverflow.com/questions/70183054

            QUESTION

            In fable's ARIMA function, is it possible to capture the output from trace = TRUE?
            Asked 2021-Dec-04 at 18:24

            In fable's ARIMA function, we have the option to see all models that are evaluated with the trace = TRUE option. (Example below.) This output just prints to the console.

            Is there any place that this model evaluation history is getting saved or is there any way to save the printed console output?

            ...

            ANSWER

            Answered 2021-Dec-04 at 18:24

            There are some options to read the output

            1. Write the output of capture.output to a file

            Source https://stackoverflow.com/questions/70227158

            QUESTION

            In a single chain get a max date - n years
            Asked 2021-Nov-29 at 18:52

            (Better title wording recommendations welcome)

            ...

            ANSWER

            Answered 2021-Nov-29 at 18:33

            We could use a lambda function

            Source https://stackoverflow.com/questions/70159617

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install fable

            The can install the stable version from CRAN:. You can install the development version from GitHub. Installing this software requires a compiler.

            Support

            Questions about forecasting can be asked on Cross Validated.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tidyverts/fable.git

          • CLI

            gh repo clone tidyverts/fable

          • sshUrl

            git@github.com:tidyverts/fable.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link