mlforecast.utils
generate_daily_series
n_series
(int): Number of series for synthetic panel.min_length
(int, default=50): Minimum length of synthetic panel’s series.max_length
(int, default=500): Maximum length of synthetic panel’s series.n_static_features
(int, default=0): Number of static exogenous variables for synthetic panel’s series.equal_ends
(bool, default=False): Series should end in the same date stamp ds
.static_as_categorical
(bool, default=True): Static features should have a categorical data type.with_trend
(bool, default=False): Series should have a (positive) trend.seed
(int, default=0): Random seed used for generating the data.engine
(str, default=‘pandas’): Output Dataframe type.pandas or polars DataFrame
: Synthetic panel with columns [unique_id
, ds
, y
] and exogenous features.generate_prices_for_series
PredictionIntervals
__init__