Skip to main content
Provide a column to pass through to the underlying models as sample weights

Data setup

Creating forecast object

Forecasting

You can provide the weight_col argument to MLForecast.fit to indicate which column should be used as the sample weights.

Cross validation

You can provide the weight_col argument to MLForecast.cross_validation to indicate which column should be used as the sample weights.