Trainer.fit()
Initializes a new training job on the dataset. Jobs initiated by the fit() method are of type train.
You can monitor the training process within Snowflake ML Experiments under the experiment_name, which uniquely identifies the dataset used for training. This name is automatically generated when creating the Dataset in the format: dataset_name_task_type_task_name.
Parameters
Section titled “Parameters”| Name | Type | Description | Optional |
|---|---|---|---|
dataset | Dataset | The dataset object used to train the model on its associated task. | No |
Returns
Section titled “Returns”An instance of a JobMonitor object, to monitor the submitted job, check its status, track model progress, and retrieve metrics after training.
Example
Section titled “Example”train_job = trainer.fit(dataset=dataset)