Giter Club home page Giter Club logo

Comments (6)

jmoralez avatar jmoralez commented on June 15, 2024

Hey @numomcmc, thanks for using statsforecast.

  1. The season length is the length of the seasonal period, so if you have hourly data it can be 24 (same hour every day) or 24 * 7 (same hour, same day of the week), etc.
  2. The alias is in the constructor, so maybe you installed an older version. Can you check your installed version?
    class HoltWinters(AutoETS):
    """Holt-Winters' method.
    Also known as triple exponential smoothing, Holt-Winters' method is an extension of exponential smoothing for series that contain both trend and seasonality.
    This implementation returns the corresponding `ETS` model with additive (A) or multiplicative (M) errors (so either 'AAA' or 'MAM').
    References
    ----------
    [Rob J. Hyndman and George Athanasopoulos (2018). "Forecasting principles and practice, Methods with seasonality"](https://otexts.com/fpp3/holt-winters.html).
    Parameters
    ----------
    season_length : int
    Number of observations per unit of time. Ex: 12 Monthly data.
    error_type : str
    The type of error of the ETS model. Can be additive (A) or multiplicative (M).
    alias : str
    Custom name of the model.
    prediction_intervals : Optional[ConformalIntervals]
    Information to compute conformal prediction intervals.
    By default, the model will compute the native prediction
    intervals.
    """
    def __init__(
    self,
    season_length: int = 1, # season length
    error_type: str = "A", # error type
    alias: str = "HoltWinters",
  3. Not sure what you mean by "I am stuck with having no model name/alias to pass into the call"
  4. That's not a call, it's the output of the fit method (it returns self).
  5. The fitted_ attribute stores the trained models, so it should be there after you call fit (assuming you're storing the forecast object in sf).
  6. I don't think you installed a recent version, since the alias has been there since last year

If you're just starting out I recommend a more general guide, like the quick start.

from statsforecast.

numomcmc avatar numomcmc commented on June 15, 2024

from statsforecast.

jmoralez avatar jmoralez commented on June 15, 2024

Since there's no way to print out the version of StatsForecat

You can run:

import statsforecast

print(statsforecast.__version__)

or in a terminal:

conda list statsforecast

or

pip show statsforecast

Maybe you already had it installed, that way conda install would do nothing but tell you that you already have it.

Have your problems been addressed? Can we close this issue?

from statsforecast.

numomcmc avatar numomcmc commented on June 15, 2024

from statsforecast.

jmoralez avatar jmoralez commented on June 15, 2024

The install from conda works fine, you can see the files here and both 1.5.0 and 1.6.0 have been downloaded thousands of times. Also you can run docker run --rm mambaorg/micromamba:1.5-focal micromamba install -c conda-forge statsforecast and see that it pulls statsforecast 1.6.0.

The error you're getting is because that's not a cell you should run, that's the output in the documentation. Feel free to join our slack to ask specific questions. I'm closing this since we didn't find any issues.

from statsforecast.

numomcmc avatar numomcmc commented on June 15, 2024

from statsforecast.

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.