trainModel()

This method initiates training for a specified model, optionally passing it updated settings, input/output parameters, and excluded parameters.

This page discusses:

Arguments

  • modelId: String identifying a model.
  • displayName: Optional string for updating the model name.
  • settings: Python dictionary-like object containing all optional parameters, matching one of the following schemas:
  • valtype: Optional string identifying the validation type used by the model.

    Options include loo for Leave-One-Out, setaside for Set Aside, No Validation to skip validation, and kfolds for the default K-Folds validation technique.

  • validation: Optional dictionary containing tuning parameters for the validation technique.

    The validation settings provided here must be valid for the technique specified in the valtype argument, as specified in the following schemas:

  • inputIds: Optional list of input parameter IDs identifying parameters to use as inputs for the model.
  • outputIds: Optional list of output parameter IDs identifying parameters to predict by the model.
  • excludedInputIds: Optional list of input parameter IDs identifying parameters to ignore during model training.
  • excludedDatasetIds: Optional list of data set IDs identifying data sets to ignore during model training.

Return Value

None.