ForecastingTrainingConfig

Training config for the FORECASTING problem type

KEY TYPE Description
MAX_SCALE_CONTEXT int Maximum context to use for local scaling.
RECURRENT_UNITS int Number of units in each recurrent layer.
QUANTILES_EXTENSION_METHOD ForecastingQuanitlesExtensionMethod Quantile extension method
RETURN_FRACTIONAL_FORECASTS None Use this to return fractional forecast values while prediction
CONVOLUTIONAL_LAYERS int Number of convolutional layers to stack on top of recurrent layers in network.
LOSS_FUNCTION ForecastingLossFunction Loss function for training neural network.
TIMESERIES_WEIGHT_COLUMN str If set, we use the values in this column from timeseries data to assign time dependent item weights during training and evaluation.
BACKTESTING_WINDOW_STEP_SIZE int Use this step size to shift backtesting windows for model training.
SKIP_MISSING bool Make the RNN ignore missing entries rather instead of processing them.
ENABLE_PADDING bool Pad series to the max_date of the dataset
NUMBER_OF_SAMPLES int Number of samples for ancestral simulation
LOCAL_SCALE_TARGET bool Using per training/prediction window target scaling.
USE_ITEM_ID bool Include a feature to indicate the item being forecast.
USE_TIMESERIES_WEIGHTS_IN_OBJECTIVE bool If True, we include weights from column set as "TIMESERIES WEIGHT COLUMN" in objective functions.
DROPOUT_RATE int Dropout percentage rate.
INITIAL_LEARNING_RATE float Initial learning rate.
DISABLE_NETWORKS_WITHOUT_ANALYTIC_QUANTILES bool Disable neural networks, which quantile functions do not have analytic expressions (e.g, mixture models)
HISTORY_LENGTH int While training, how much history to consider.
DATA_SPLIT_FEATURE_GROUP_TABLE_NAME str Specify the table name of the feature group to export training data with the fold column.
SYMMETRIZE_QUANTILES bool Force symmetric quantiles (like in Gaussian distribution)
USE_LOG_TRANSFORMS bool Apply logarithmic transformations to input data.
FORECAST_FREQUENCY ForecastingFrequency Forecast frequency.
FILTER_ITEMS bool Filter items with small history and volume.
PREDICTION_STEP_SIZE int Number of future periods to include in objective for each training sample.
ITEM_ATTRIBUTES_WEIGHT_COLUMN str If set, we use the values in this column from item attributes data to assign weights to items during training and evaluation.
NUM_BACKTESTING_WINDOWS int Total backtesting windows to use for the training.
TYPE_OF_SPLIT ForecastingDataSplitType Type of data splitting into train/test.
USE_ALL_ITEM_TOTALS bool Include as input total target across items.
CONVOLUTION_FILTERS int Number of filters in each convolution.
CUSTOM_LOSS_FUNCTIONS List[str] Registered custom losses available for selection.
CUSTOM_METRICS List[str] Registered custom metrics available for selection.
HANDLE_ZEROS_AS_MISSING_VALUES bool If True, handle zero values in demand as missing data.
FILL_MISSING_VALUES List[List[dict]] Strategy for filling in missing values.
ALLOW_TRAINING_WITH_SMALL_HISTORY None Allows training with fewer than 100 rows in the dataset
SMOOTH_HISTORY float Smooth (low pass filter) the timeseries.
ENABLE_COLD_START bool Enable cold start forecasting by training/predicting for zero history items.
FULL_DATA_RETRAINING bool Train models separately with all the data.
EXPERIMENTATION_MODE ExperimentationMode Selecting Thorough Experimentation will take longer to train.
LOCAL_SCALING_MODE ForecastingLocalScaling Options to make NN inputs stationary in high dynamic range datasets.
ENABLE_FEATURE_SELECTION bool Enable feature selection.
PROBABILITY_QUANTILES List[float] Prediction quantiles.
USE_CLIPPING bool Apply clipping to input data to stabilize the training.
OBJECTIVE ForecastingObjective Ranking scheme used to select final best model.
SKIP_TIMESERIES_WEIGHT_SCALING bool If True, we will avoid normalizing the weights.
ENABLE_MULTIPLE_BACKTESTS bool Whether to enable multiple backtesting or not.
L2_REGULARIZATION_FACTOR float L2 regularization factor.
BATCH_SIZE ForecastingBatchSize Batch size.
USE_ITEM_WEIGHTS_IN_OBJECTIVE bool If True, we include weights from column set as "ITEM ATTRIBUTES WEIGHT COLUMN" in objective functions.
TIMESERIES_LOSS_WEIGHT_COLUMN str Use value in this column to weight the loss while training.
RECURRENT_LAYERS int Number of recurrent layers to stack in network.
FORCE_PREDICTION_LENGTH int Force length of test window to be the same as prediction length.
DATETIME_HOLIDAY_CALENDARS List[HolidayCalendars] Holiday calendars to augment training with.
PREDICTION_LENGTH int How many timesteps in the future to predict.
UNDERPREDICTION_WEIGHT float Weight for underpredictions
ADDITIONAL_FORECAST_KEYS None List[str]: List of categoricals in timeseries that can act as multi-identifier.
TEST_START str Limit training data to dates before the given test start.
BATCH_RENORMALIZATION bool Enable batch renormalization between layers.
TRAINING_POINT_OVERLAP float Amount of overlap to allow between training samples.
SORT_OBJECTIVE ForecastingObjective Ranking scheme used to sort models on the metrics page.
TEST_BY_ITEM bool Partition train/test data by item rather than time if true.
TEST_SPLIT int Percent of dataset to use for test data. We support using a range between 5% to 20% of your dataset to use as test data.
ENABLE_CLUSTERING bool Enable clustering in forecasting.
ZERO_PREDICTOR bool Include subnetwork to classify points where target equals zero.