Skip to content

TabularDataset

Wraps a connector and a TabularTask for use with ICLEstimator. Unlike RelationalDataset, there are no table declarations, foreign keys, or candidate keys — the task’s table paths (context_table, test_table, validation_table) are the only data source, and no DFS/cross-table feature generation happens before inference.

ParameterTypeDescriptionOptional
connectorSnowflakeConnectorConnection to the data backend (used for auth / path resolution).No
namestrDataset name (used for logging and job naming).No
taskTabularTaskDescribes the splits, label column, and task type.No

An instance of the TabularDataset class.

from relationalai_predictive import TabularTask, TabularDataset, TaskType
task = TabularTask(
name="churn",
task_type=TaskType.BINARY_CLASSIFICATION,
label_column="churned",
context_table="DATABASE.SCHEMA.CHURN_CONTEXT",
test_table="DATABASE.SCHEMA.CHURN_TEST",
)
dataset = TabularDataset(connector=connector, name="churn", task=task)

Pass the resulting dataset directly to ICLEstimator.predict() or ICLEstimator.score().