![]() fit ( df, date_col = 'datetime' if long else None, value_col = 'value' if long else None, id_col = 'series_id' if long else None, ) prediction = model. # also load: _hourly, _monthly, _weekly, _yearly, or _live_daily from autots import AutoTS, load_daily # sample datasets can be used in either of the long or wide import shapes long = False df = load_daily ( long = long ) model = AutoTS ( forecast_length = 21, frequency = 'infer', prediction_interval = 0.9, ensemble = None, model_list = "fast", # "superfast", "default", "fast_parallel" transformer_list = "fast", # "superfast", drop_most_recent = 1, max_generations = 4, num_validations = 2, validation_method = "backwards" ) model = model. Lower-level functions are only designed for wide style data. fit() as date_col, id_col, and value_col. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |