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:
 
Syntax¶
Rename a model:
ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    RENAME TO '<new_model_name>';
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>' ... ];
Set or change a model’s comment:
ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    SET COMMENT = '<string_literal>';
Remove a tag from a model:
ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    UNSET TAG <tag_name> [ , <tag_name> ... ];
Remove a model’s comment:
ALTER SNOWFLAKE.ML.CLASSIFICATION [ IF EXISTS ] <name>
    UNSET COMMENT;