ALTER SNOWFLAKE.ML.CLASSIFICATION

You can change the name, description, and tags of a classification model object using forms of the ALTER command. Models themselves are immutable and cannot be updated in place. To update a model, drop the existing model and train a new one.

See also:

CREATE SNOWFLAKE.ML.CLASSIFICATION

Syntax

Rename a model:

ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    RENAME TO '<new_model_name>';
Copy

Set or change a tag value on a model:

ALTER SNOWFLAKE.ML.CLASSIFICATION  [ IF EXISTS ] <name>
    SET TAG <tag_name> = '<tag_value>' [ , <tag_name> = '<tag_value>' ... ];
Copy

Set or change a model’s comment:

ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    SET COMMENT = '<string_literal>';
Copy

Remove a tag from a model:

ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    UNSET TAG <tag_name> [ , <tag_name> ... ];
Copy

Remove a model’s comment:

ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    UNSET COMMENT;
Copy