Skip to main content
In this guide, we walk you through an end-to-end example using a multi-table E-Commerce dataset. You’ll learn how to load data, auto-infer a relational graph, and run instant predictions: demand forecasting, churn prediction, item recommendations, and missing value imputation, all without training a model.

Step 1: Install the SDK

Install the Python SDK

Step 2: Get an API key

You need an API key to make calls to KumoRFM. Use the API key and API URL provided for your KumoRFM environment.

Step 3: Initialize a client

Use your API key to initialize a Kumo client:

Step 4: Import your data

We will use an E-Commerce dataset for this example:

Step 5: Create a graph

Auto infer links between tables to form a graph

Step 6: Make a prediction

Write a predictive query to generate instant predictions:

Notebooks

Explore practical examples and use cases through our interactive notebooks.

Quickstart

Use KumoRFM for instant predictions using your own dataset with no model training required.KumoRFM · pandas

E-commerce Agent

Build an e-commerce agent that identifies churn risk, predicts probabilities, and generates re-engagement emails.KumoRFM · CrewAI · OpenAI · MCP

Sales Agent

Build a sales agent for lead scoring that identifies high-value prospects and creates prioritized outreach lists.KumoRFM · OpenAI Agents SDK · MCP

Insurance Agent

Build an insurance agent that predicts policy expiration risks, recommends bundling, and generates retention emails.KumoRFM · LangGraph · Anthropic · MCP

Handbook

Comprehensive guide showing graph schema definition, predictive queries, and model evaluation using Formula 1 data.KumoRFM · RelBench · scikit-learn

Hands-on Tutorial

Interactive tutorial demonstrating predictive analytics on multi-table datasets using Super Mario Maker game data.KumoRFM · pandas

Predictive Query Language

Learn PQL to frame entire ML tasks in SQL-like statements using the Steam gaming dataset.KumoRFM · PQL

RelBench Evaluation

Step-by-step guide for evaluating KumoRFM performance on custom datasets using rel-bench.KumoRFM · RelBench · scikit-learn

SALT Dataset

Advanced evaluation on complex enterprise ERP dataset for multi-class classification.KumoRFM · Hugging Face · datasets

Single Table Classification

Demonstrates binary classification on single tabular data using the scikit-learn breast cancer dataset.KumoRFM · scikit-learn · NumPy