create()

This method generates a new ML model with specified attributes.

This page discusses:

Arguments

  • displayName: String naming the current model.
  • type: String identifying the method used by the model, such as rsm, rbf, or kriging.
  • 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:

  • inputIdList: Optional list of input parameter IDs identifying parameters to use as inputs for the model.
  • outputIdList: 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

MLObject(Dictionary)

You can use the MLAPI.library command to retrieve all available types and settings.