Start a session
Open Claude Code in the folder with your data and say what you want to predict:Answer the setup questions
Claude asks only the questions that apply to your data. Each one has a recommended option, based on what Claude found in the table.1
Before the task
- Level. How much Claude explains while Autofit runs: every step in plain words, a short reason per experiment, or results and settings only.
- Earlier runs. If you ran this table before, Claude offers to continue that session instead of starting a new one. See Continue a session.
2
The task
- Target. The column to predict. Claude names the candidates and what one row is.
- Use. What you will do with the predictions. This picks the metric. See Metrics.
- Rows. How the rows relate: independent, several per entity, or ordered in time. This picks the validation. See Locked folds.
3
The columns
Claude asks about columns that look risky: a value that may be recorded after the outcome, a name that says too little, an ID, repeated records. With rows ordered in time, it asks whether the time column is a feature. See Leakage.Constant columns are named in the summary and kept. They cannot change a prediction.
4
Scoring
How many folds, repeats, or one fold only. Claude asks only when there is a choice. A time holdout is always one fold.
5
The run
- Budget. The number of experiments, counting the baseline. 20 suits most tables. 10 gives a quick look or suits a large table. 40 suits a small table where you want many ideas tried. You can change it while the session runs.
- Review. Approve each experiment before it runs, approve by a rule (“approve what only adds columns, ask about the rest”), or let it run on its own. See Steer a run.
Confirm the setup
Before anything runs, Claude shows every choice in one list:- the data file, its rows and columns, and any copy it wrote (with a
foldcolumn, or without repeated rows) - the target, the metric and its post-processing step, if any
- how experiments are scored
- the dropped columns and why
- the budget and the review mode
- the level Claude explains at
- what it will tell the agent, word for word
fold column, it writes a copy next to the original (churn_folds.csv) and tells you its name and row counts.
When the data needs more
Metrics
Built-in metrics and how to choose one.
Leakage
Columns recorded after the outcome, IDs and repeated rows.
Temporal data
Validate on the latest period, with a gap where labels look ahead.
Grouped data
Several rows per customer, patient or store.
Multi-table data
Lookup tables such as each customer’s orders.
Custom metrics
A cost, a threshold or a competition’s metric.
Domain context
Column meanings, earlier results and ideas for the agent.