Deactivating and Activating a Model

Activate a deactivated Data Science model or deactivate an active one.

Deactivating a model updates its state to inactive. Inactive models can't be used in a model deployment. Inactive models aren't deleted and can later be reactivated.

    1. From the models page, select the name of the model. If you need help finding the list of models, see Listing Models.

      The model details page opens.

    2. Select Deactivate or Activate
  • Use the oci data-science model activate and oci data-science model deactivate commands and required parameters:

    oci data-science model activate --model-id  <model-id>.-c [<text>].. [OPTIONS]
    oci data-science model deactivate --model-id  <model-id>.-c [<text>].. [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Use the ActivateModel and DeactivateModel operations to activate or deactivate a model.