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. Use the Console to sign in to a tenancy with the necessary policies.
    2. Open the navigation menu and click Analytics & AI. Under Machine Learning, click Data Science.
    3. Select the compartment that contains the project with the model.

      All projects in the compartment are listed.

    4. Click the name of the project.

      The project details page opens and lists the notebook sessions.

    5. Under Resources, click Models.

      A tabular list of models in the compartment is displayed.

    6. Click the name of the model.

      The model details page opens.

    7. Click 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.