机器学习模型 DDL

以下 DDL 命令用于创建、查看和管理机器学习模型及其版本。

模型是一个架构级对象,其中包含已在 Snowpark ML 注册表中训练和存储的机器学习模型。通过模型命令,您可以在 SQL 中创建和管理模型。您还可以通过 Snowpark ML 注册表 API 使用 Python 创建和管理模型。

模型监控器允许您监控在 Snowflake 中部署的机器学习模型的性能。

机器学习模型

CREATE MODELCreates a new machine learning model in the current/specified schema or replaces an existing model.
ALTER MODELModifies the properties for an existing model, including its name, tags, default version, or comment.
SHOW MODELSLists the machine learning models that you have privileges to access.
DROP MODELRemoves a machine learning model from the current/specified schema.

机器学习模型版本

ALTER MODEL … ADD VERSIONAdds a new version to an existing model from an internal stage.
ALTER MODEL … DROP VERSIONRemoves a version from an existing model.
ALTER MODEL … MODIFY VERSIONModifies a version of a model, changing the version’s comment or metadata.
SHOW VERSIONS IN MODELLists the versions in a machine learning model.

机器学习模型函数

SHOW FUNCTIONS IN MODELShows the models (methods) attached to a machine learing model.

机器学习模型监控器

CREATE MODEL MONITORCreate a new model monitor.
ALTER MODEL MONITORModify the properties of an existing model monitor, including its refresh interval and warehouse, or suspend or resume it.
SHOW MODEL MONITORSLists the model monitors that you have privileges to access.
DESCRIBE MODEL MONITORShows the properties of a model monitor.
DROP MODEL MONITORRemoves a model monitor from the current/specified schema.