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. On the Projects list page, select the project that contains the models that you want to work with. If you need help finding the list page or the project, see Listing Projects.
    2. On the project details page, select Models.
      All models in the selected project are displayed in a table, along with their model version sets.
    3. Find the model that you want to work with.
    4. From the Actions menu (three dots) for the model, select Deactivate or Activate.
  • Use the oci data-science model activate and required parameters to activate a model:

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

    Use the oci data-science model deactivate commands and required parameters to deactivate a model:

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

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

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