Model Prediction
You can use PQL to train a mode and make predicions on data you have connected with the following cluases:
- PREDICT Used to compute predictions for one or more target features from a trained model given an input selection.
- EXPLANATION Add the clause
WITH EXPLANATION
to generate explanations for the model's predictions. - EVALUATE Used to evaluate one or more target features from a trained model given a query input.
- SELECT Used to obtain rows from the dataset and to filter results returned by prediction queries.
- PROMPT Used to query large language models by providing and optional input selection.