Predictive Query Language (PQL) Explained

· Source: James Briggs · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Intermediate, quick

Summary

Kumo introduces a Predictive Query Language (PQL), a SQL-like syntax designed to define prediction parameters for various business outcomes. For instance, PQL can be used to forecast customer value over a specified period, such as the next 30 days. This involves defining a "target" using a `predict` statement, which specifies the metric to be predicted, like the sum of transaction prices within a future timeframe. Additionally, PQL requires defining an "entity," indicating for whom or what the prediction is being made, enabling granular predictions for individual customers.

Key takeaway

For data scientists and business analysts seeking to implement predictive analytics, understanding Kumo's PQL can streamline the definition of forecasting tasks. Your team should explore PQL for its ability to clearly articulate prediction targets and entities, potentially simplifying the development of models for customer value or other time-series predictions.

Key insights

PQL offers a SQL-like syntax to define predictive targets and entities for business forecasting.

Principles

Method

Use PQL's `predict` statement to define the target metric and timeframe, then specify the `for each` entity to break down predictions.

In practice

Topics

Best for: Data Scientist, AI Data Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by James Briggs.