ML_MODEL_UNLOAD
unloads a model
from HeatWave AutoML.
As of MySQL 9.0.0,
ML_MODEL_UNLOAD
does not check
whether the model specified is in the model catalog. If it is
not, ML_MODEL_UNLOAD
will
succeed, but will not unload any model. Use
ML_MODEL_ACTIVE
to check which
models are active, and owned by the user.
mysql> CALL sys.ML_MODEL_UNLOAD(model_handle);
ML_MODEL_UNLOAD
parameters:
model_handle
: Specifies the model handle.
-
An
ML_MODEL_UNLOAD
call that specifies the model handle:mysql> CALL sys.ML_MODEL_UNLOAD('ml_data.iris_train_user1_1636729526');
-
An
ML_MODEL_UNLOAD
call that specifies a session variable containing the model handle:mysql> CALL sys.ML_MODEL_UNLOAD(@iris_model);