Method
getModelTrainingTypesForDeployment GET
Copy GET

Returns types of models that can be deployed for a given model instance ID.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelId str The unique ID associated with the model.
No modelVersion str The unique ID associated with the model version to deploy.
No algorithm str The unique ID associated with the algorithm to deploy.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result ModelTrainingTypeForDeployment
KEY TYPE Description
label str Labels to show to users in deployment UI
value str Value to use on backend for deployment API call

Exceptions:

TYPE WHEN
DataNotFoundError

modelId is not found.

Language: