fit
Fit an estimator to data using feature and target handles. Supports forecast horizon and async background execution.
Instructions
Fit an estimator on data. Provide explicit X_handle and/y_handle (or datasets) depending on the estimator's scitype.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fh | No | Optional: Forecast horizon (e.g. 12 or [1,2,3]) to pass to fit | |
| X_handle | No | Optional: Handle from load_data_source for X data (features, panel, etc.) | |
| y_handle | No | Optional: Handle from load_data_source for y data (target, labels, etc.) | |
| X_dataset | No | Optional: Demo dataset name for X data | |
| run_async | No | If True, runs the fit asynchronously in the background and returns a job_id. | |
| y_dataset | No | Optional: Demo dataset name for y data | |
| estimator_handle | Yes | Handle from instantiate_estimator |