sequence_id and are ordered by timestamp within that sequence. The label is per sequence and repeats on every row of it.
Folder layout
Data CSV
Sequences may have different lengths. Keep each sequence complete within one ingest. Record counts on the platform are sequences, while the ingest progress line counts rows, and a sequence split across two ingests is counted twice.
Ingest with the CLI
Pass the CSV file, or a folder that holds only that CSV. Ingest the training and the test split separately:--schema, the CLI infers a type for every column. Passing it, as above, pins sequence_id as text and timestamp as a calendar type. Quote it: VARCHAR(64) contains shell characters. --schema replaces the inferred schema, so list every column you want stored. Including the label column in --schema is fine: the ingestor drops it from the stored schema.
ingest.yaml
What the ingestor checks
Plus the checks every ingest runs. After the rows are stored, an integrity pass removes any sequence that lost rows to a failed insert, so a sequence is stored whole or not at all, and the run then exits with an error.
Sample dataset
The template ships 30 hourly rows of synthetic ICU vitals for six sequences (3 to 7 steps each) with fiveFLOAT features (heart_rate, resp_rate, temperature, spo2, lactate — the last with legal blanks) and a binary per-sequence label — the rows shown above are taken from it. 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 checks it against the dataset (see model parameters by task):num_feature_pointsmust equal the number of stored columns minus the label,sequence_idandtimestamp. For the sample, that is 5.output_classesmust equal the number of distinct labels. For the sample, that is 2.sequence_lengthis the number of time steps the model sees per sequence. Shorter sequences are zero-padded to it, and longer ones keep their most recent steps. The sample’s sequences have 3 to 7 steps.
sequence_length of 60, so edit them. Feature columns reach the model sorted by column name, whatever order the CSV or schema uses.
Next steps
- Ingest the data: Prepare Data
- Shared rules for every template: Dataset templates