Glossary for Kumo Relational
This page is for Structured Data Models.
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
| Term | Definition |
|---|---|
| Anchor time | The 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
| Term | Definition |
|---|---|
| Candidates | The 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. |
| Context | Rows 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
| Term | Definition |
|---|---|
| Entity table | A table representing objects for which Kumo Relational can make predictions. An entity table typically has a stable, unique primary key. |
| Event table | A 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. |
| Explanation | The 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
| Term | Definition |
|---|---|
| Fan-out | The maximum number of neighbors sampled at one graph hop. Each value in num_neighbors sets the fan-out for the corresponding hop. |
fit | Pins 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 key | A column whose values refer to the primary key of another schema table. A Relationship connects a foreign key to its target entity table. |
H
| Term | Definition |
|---|---|
| Holdout | The 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. |
| Hop | One relationship traversal in the relational neighborhood around a prediction entity. The number of entries in num_neighbors determines the number of sampled hops. |
I
| Term | Definition |
|---|---|
id | The 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. |
indices | Entity primary-key values passed to materialize(). They select the entities to score, up to 100,000 per call. Refer to Make Predictions. |
| Inference configuration | Task-specific model settings passed through inference_config on materialize(). Refer to Configuration. |
K
| Term | Definition |
|---|---|
kumo-relational | The model id sent on the wire and reported by a NIM’s /v1/models. Named through the KumoRelational() handle in sdm-client. |
KumoRelational | The sdm-client handle for the relational model. Passed as the model= argument to predict(), fit(), and materialize(). |
N
| Term | Definition |
|---|---|
| Neighborhood | Relational context sampled around a prediction entity. num_neighbors controls its depth and maximum fan-out. |
| NIM | A 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
| Term | Definition |
|---|---|
| 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 entity | The entity for which Kumo Relational returns a prediction. In PQL, the table key in the FOR or FOR EACH clause identifies the entity. |
| Prediction horizon | The future interval covered by a temporal prediction target, expressed by the start, end, and time unit in a PQL aggregation. |
prediction_statistic | A materialize() option choosing what a regression’s prediction column reports of the model’s predicted distribution: "median" (default) or "mean". Refer to Prediction Results. |
PredictionResult | The 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 key | A non-null, unique column (or ordered set of columns, for a composite key) that identifies each row in a schema table. |
R
| Term | Definition |
|---|---|
| Relationship | A schema connection from a foreign key in an event or junction table to the primary key of an entity table. Refer to Define Relationships. |
Request | What to ask, independent of which model answers it. For Kumo Relational, built only through PredictiveQuery(...).materialize(...). Refer to Make Predictions. |
row_index | The zero-based position of a scored row within the whole (possibly batched) call, carried by every result row. |
rows_per_call | A 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
| Term | Definition |
|---|---|
Schema | The 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. |
SDMClient | The 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 model | A 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. |
Source | Describes where a schema’s tables live and how to reach them, for Schema.from_source(): DatabricksSource, SnowflakeSource, PostgresSource, DuckDBSource, or SQLiteSource. |
T
| Term | Definition |
|---|---|
| Target | The value or event to predict. In PQL, the target can be a column, a future aggregation, or a condition applied to an aggregation. |
| Task kind | The prediction category: classification, binary_classification, multiclass_classification, regression, forecasting, or temporal_link_prediction. Refer to Prediction Types. |
| Time column | Table metadata identifying when an event became available to the prediction workflow. There is no supported end_time_column. Refer to Time Columns. |
U
| Term | Definition |
|---|---|
unscored_candidates | On a ranking’s PredictionResult, the candidates no entity’s sampled context could answer, left out of every row. Refer to Prediction Results. |
Related Documentation
For more information, refer to the following pages: