SQL Reference

Machine Learning Model Functions

 functionality supports these SQL functions for machine learning models.

The scope of a machine learning model is the schema.

Supported Machine Learning Models

Supported machine learning models are divided into these categories.

Regression Models

Classification Models

Clustering and Dimension Reduction Models

Other Models



Execute a Query Using a Machine Learning Model

To create a machine learning model and manage the model, see Machine Learning Models for the corresponding syntaxes. After you have the model, you can execute a query using the model with this syntax.

Syntax

SQL


Example

Create a table with data for the model.

SQL


Create a multiple linear regression model based on the data.

SQL


Execute a SELECT query against the multiple linear regression to see the actual and predicted values. Limit the result set to 10 rows.

SQL


Output

Text


Related Links