Skip to main content
HealthShare Health Connect 2024.3
AskMe (beta)
Loading icon

SET ML CONFIGURATION (SQL)

Sets an ML configuration as the default.

Synopsis

SET ML CONFIGURATION ml-configuration-name 

Arguments

ml-configuration-name The name of the ML configuration.

Description

The SET ML CONFIGURATION command sets the specified ML configuration as the system default for all ensuing TRAIN MODEL statements. Only one ML configuration can be set as system default by each SET ML CONFIGURATION statement.

Required Security Privileges

Calling SET ML CONFIGURATION requires a USE object privilege; otherwise, there is a SQLCODE –99 error (Privilege Violation). You can determine if the current user has USE privilege by invoking the %CHECKPRIV command or the $SYSTEM.SQL.Security.CheckPrivilege() method.

Examples

CREATE MODEL AutoMLModel PREDICTING (label) FROM data

SET ML CONFIGURATION %AutoML

TRAIN MODEL AutoMLModel

See Also

FeedbackOpens in a new tab