Folder layout
Data CSV
Ingest with the CLI
Pass the CSV file, or a folder that holds only that CSV. Ingest the training and the test split separately:--time-column time and --label-policy bucket are the defaults. The CLI infers a SQL type for every column, so --schema is optional. To set the types yourself, pass --schema 'col:TYPE,col:TYPE' and quote it, because a type such as VARCHAR(64) contains shell characters. --schema replaces the inferred schema: list every feature column you want stored, not just the ones you retype. Including the label column in --schema is fine: the ingestor drops it from the stored schema. The CLI has no flags for time_unit and event_indicator: they are optional and can only be set in ingest.yaml.
ingest.yaml
What the ingestor checks
Plus the checks every ingest runs. There is no label-diversity check.
Sample dataset
The template ships 30 synthetic rows shaped like a heart-failure clinical dataset (no real patients): eleven covariates (age, anaemia, creatinine_phosphokinase, diabetes, ejection_fraction, high_blood_pressure, platelets, serum_creatinine, serum_sodium, sex, smoking), the duration time in days and the event indicator DEATH_EVENT. The covariates are linearly independent on purpose — a Cox proportional-hazards fit needs that. The rows shown above are its first rows, and the ingest.yaml above ingests it as is; only csv: changes to wherever you staged the file.
Model settings for this dataset
When you link a model, the platform checksnum_feature_points against the dataset (see model parameters by task). It must equal the number of stored columns minus the event indicator, so the duration column counts. For the sample, that is 12, which matches the model-zoo default. output_classes is not checked for this task. Feature columns reach the model sorted by column name, whatever order the CSV or schema uses.
The lifelines and scikit-survival models, such as cox_ph, need the matching SDK extra. Without it, the local model check fails with No module named 'lifelines':
Next steps
- Ingest the data: Prepare Data
- Shared rules for every template: Dataset templates