Skip to navigation

Glossary for Kumo Relational

View as MarkdownOpen in Claude

Use this glossary for terms that have a specific meaning in Kumo Relational and sdm-client. Follow the links for procedures, examples, and complete reference information.

A

TermDefinition
Anchor timeThe reference time associated with a prediction or context example, passed to materialize(). Kumo Relational uses the time boundary to determine which historical events are available to the prediction. Refer to Configuration.

C

TermDefinition
CandidatesThe set of rows a ranking query is asked over, passed to materialize(candidates=...). Required for RANK TOP K. No ranking task assumes a candidate set. Refer to Prediction Types.
ContextRows where the answer is already known, gathered by materialize() from the schema’s historical data. Refer to How the Client Works With Kumo Relational.

E

TermDefinition
Entity tableA table representing objects for which Kumo Relational can make predictions. An entity table typically has a stable, unique primary key.
Event tableA table containing time-dependent activities or transactions related to one or more entity tables. Its time column identifies when each event became available to the prediction workflow.
ExplanationThe structured attribution payload returned in result.explanation when outputs includes 'explanation', where the deployment produces one. Many shipping deployments refuse this output entirely. Refer to Prediction Explainability.

F

TermDefinition
Fan-outThe maximum number of neighbors sampled at one graph hop. Each value in num_neighbors sets the fan-out for the corresponding hop.
fitPins a materialized request’s context on the endpoint and returns a FittedModel for scoring several questions against it without re-uploading. Takes an optional holdout= naming every row the session later scores. Refer to Make Predictions.
Foreign keyA column whose values refer to the primary key of another schema table. A Relationship connects a foreign key to its target entity table.

H

TermDefinition
HoldoutThe fit(holdout=...) argument naming every entity key a session goes on to score, so those rows can be excluded from the context pinned at fit() time. Without it, a later call can score a row that is sitting in the pinned context with its own answer attached.
HopOne relationship traversal in the relational neighborhood around a prediction entity. The number of entries in num_neighbors determines the number of sampled hops.

I

TermDefinition
idThe entity’s primary-key value on a result row, present when the model has an entity key. Join on this, or on row_index when there is none. Refer to Prediction Results.
indicesEntity primary-key values passed to materialize(). They select the entities to score, up to 100,000 per call. Refer to Make Predictions.
Inference configurationTask-specific model settings passed through inference_config on materialize(). Refer to Configuration.

K

TermDefinition
kumo-relationalThe model id sent on the wire and reported by a NIM’s /v1/models. Named through the KumoRelational() handle in sdm-client.
KumoRelationalThe sdm-client handle for the relational model. Passed as the model= argument to predict(), fit(), and materialize().

N

TermDefinition
NeighborhoodRelational context sampled around a prediction entity. num_neighbors controls its depth and maximum fan-out.
NIMA deployed inference service that hosts Kumo Relational and exposes its endpoint. sdm-client connects to the NIM and sends prediction requests. It does not deploy or run the model itself. Refer to Installation Guide for Kumo Relational.

P

TermDefinition
Predictive Query Language (PQL)The language used to describe a predictive task over a schema. A runnable Kumo Relational query identifies a target and the entity or entities to score. Refer to Write Predictive Queries.
Prediction entityThe entity for which Kumo Relational returns a prediction. In PQL, the table key in the FOR or FOR EACH clause identifies the entity.
Prediction horizonThe future interval covered by a temporal prediction target, expressed by the start, end, and time unit in a PQL aggregation.
prediction_statisticA materialize() option choosing what a regression’s prediction column reports of the model’s predicted distribution: "median" (default) or "mean". Refer to Prediction Results.
PredictionResultThe object every predict() and fit().predict() call returns. to_pandas() gives the DataFrame; explanations carries gradients and column cohorts when requested and available; unscored_candidates lists any ranking candidates left out. Refer to Prediction Results.
Primary keyA non-null, unique column (or ordered set of columns, for a composite key) that identifies each row in a schema table.

R

TermDefinition
RelationshipA schema connection from a foreign key in an event or junction table to the primary key of an entity table. Refer to Define Relationships.
RequestWhat to ask, independent of which model answers it. For Kumo Relational, built only through PredictiveQuery(...).materialize(...). Refer to Make Predictions.
row_indexThe zero-based position of a scored row within the whole (possibly batched) call, carried by every result row.
rows_per_callA materialize() option lowering how many entities one NIM call scores, below the endpoint’s own cap. Only ever lowers it. Refer to Batch Prediction.

S

TermDefinition
SchemaThe tables, table metadata, and relationships sdm-client uses to sample predictive context. Built with from_data() (in memory) or from_source() (sampled in place). One table with no relationships is the same type Kumo Tabular uses. Refer to Build a Schema.
SDMClientThe public sdm-client class that owns the HTTP connection to one NIM endpoint. Serves both Kumo Relational and Kumo Tabular. Refer to Python SDK API.
Semantic modelA Databricks metric view or Snowflake semantic view, converted into a Schema with Schema.from_source(source.semantic_model(name)).
Semantic type (stype)Metadata describing how sdm-client should interpret a column, such as ID, numerical, categorical, text, or timestamp. Assigned as a plain string. Refer to Data Types and Semantic Types.
SourceDescribes where a schema’s tables live and how to reach them, for Schema.from_source(): DatabricksSource, SnowflakeSource, PostgresSource, DuckDBSource, or SQLiteSource.

T

TermDefinition
TargetThe value or event to predict. In PQL, the target can be a column, a future aggregation, or a condition applied to an aggregation.
Task kindThe prediction category: classification, binary_classification, multiclass_classification, regression, forecasting, or temporal_link_prediction. Refer to Prediction Types.
Time columnTable metadata identifying when an event became available to the prediction workflow. There is no supported end_time_column. Refer to Time Columns.

U

TermDefinition
unscored_candidatesOn a ranking’s PredictionResult, the candidates no entity’s sampled context could answer, left out of every row. Refer to Prediction Results.

For more information, refer to the following pages: