vastorbit.machine_learning.vast.automl.AutoDataPrep.fit¶
- AutoDataPrep.fit(input_relation: Annotated[str | VastFrame, ''], X: Annotated[str | list[str], 'STRING representing one column or a list of columns'] | None = None, ts: str | None = None, by: Annotated[str | list[str], 'STRING representing one column or a list of columns'] | None = None, return_report: bool = False) None¶
Trains the model.
- Parameters:
input_relation (SQLRelation) – Training Relation.
X (SQLColumns, optional) – List of the features to preprocess.
ts (str, optional) – Time series VastColumn used to order the data. The VastColumn type must be date-like (date, datetime, timestamp…).
by (SQLColumns, optional) – VastColumns used in the partition.