Use custom CSV or Parquet data¶
Use this guide when you already have sequence data and want to run the app on it.
Required shape¶
Input file must be long format with one row per (entity, timestep).
You need:
- one entity identifier column
- one time-order column
- one binary target column (
0or1) - one or more numeric feature columns
Steps¶
- Start the app:
- In sidebar
Data: - set
DatasettoUpload file -
upload
.csvor.parquet -
Map columns:
- select
Entity column - select
Time column -
select
Target column -
Verify feature detection:
- app auto-detects features as all non-selected columns
-
if no features are detected, adjust column selections
-
Set model options in
Model: - choose
Sequence lengthsmall enough that entities have enough timesteps - choose model source (
Train in appor checkpoint load)
Common pitfalls¶
No windows could be created:- sequence length is too large, or
- entities are too short
- bad
timesorting: - ensure the time column sorts in real sequence order
- non-numeric feature columns:
- convert features to numeric before upload