Skip to main content
PREDICT(<MODEL>, <TABLE>): This operation returns predictions and confidence scores for each row in <TABLE> based on running <MODEL>. This is a table-valued function (TVF). It should be used in a FROM clause. The input model should already exist (see CREATE MODEL. The input table should match the columns used to train the input model (the target column can be ommitted).

Syntax

Args

model or str (literal)
The name of the trained model to use for inference.
table or str (literal)
The name of the table over which to compute model predictions.

Examples