Skip to main content
There are three ways to do inference with KumoRFM. Let’s take a look at how this works by using an e-commerce dataset. First, import the data and setup the graph.
import data & setup graph
Predict how many orders a user will place in the next 30 days. Predictive Query expression:

Single-Entity Inference

Run inference for a single entity:
single-entity

Multi-Entity Inference (≤ 1,000 Entities)

Score multiple specific entities in a single call:
multi-entity

Batch Prediction (Full Dataset or Large Batches)

Batch prediction allows scoring all entities. The SDK automatically handles batching and retries.
batch-prediction
Parameters
  • batch_size=“max”: automatically uses the largest valid batch size
  • num_retries: retry count for transient failures