Deleting a Model

Delete a model in Data Science.

Caution

When you delete a model, its metadata and saved zip artifact are deleted and can't be restored. Also, any models that use the deleted model can't be used.
Note

Deleted models exist in lists for 30 days after being deleted. You can filter them out of lists by using the State filter.

    1. Use the Console to sign in to a tenancy with the necessary policies.
    2. Open the navigation menu and select Analytics & AI. Under Machine Learning, select Data Science.
    3. Select the compartment that contains the project with the model.

      All projects in the compartment are listed.

    4. Select 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. Select the name of the model.

      The model details page opens.

    7. Select More actions, and then select Delete.
    8. Enter the name of the model that you want to delete exactly as it appears, and then select Delete.
    A notification is displayed indicating that the model is deleted successfully.
  • Use the oci data-science model delete command and required parameters to delete a model:

    oci data-science model delete --model-id <model-id>... [OPTIONS]

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

  • Use the DeleteModel operation to delete the model.