- The commands and operators used in the query.
- The available evaluation metrics.
- Explainable AI (XAI) options.
Common Task Types
Task Type | Output | PQL Example |
---|---|---|
Regression | Continuous real number | PREDICT customers.age FOR EACH customers.customer_id |
Binary Classification | True or False | PREDICT fraud_reports.is_fraud FOR EACH transactions.id WHERE transactions.type = "bank transfer" |
Multiclass + Multilabel Classification | Class label | PREDICT FIRST(purchases.type, 0, 7) FOR EACH users.user_id |
Link Prediction | List of items | PREDICT LIST_DISTINCT(transactions.article_id, 0, 7) RANK TOP 10 FOR EACH customers.customer_id |
Examples
Regression
A regression task predicts a continuous value. For example, predicting the total amount of purchases per customer over the next 30 days:PQL
Binary Classification
A binary classification task predicts a true/false outcome. For example, predicting which customers will make no transactions in the next 30 days:PQL
-
The
=
operator makes this a classification task. -
Changing it to
>
would modify the positive label of the prediction.