Train a model on your CSV, and see whether the score is honest

Open a CSV and pick the column to predict. The page trains three small models in your browser, chooses one on a validation split, scores it once on a test split and compares it with a baseline. Before you see a score it looks for leakage: a column that gives the answer away.

Your file never leaves this tab. It is read and trained on in your browser, and the page's security policy lets it fetch only this site's own files, so it could not send your data anywhere if it tried.

Built by Suman Mukherjee The sample is synthetic: policy renewals at Corvane Life, a fictional insurer.

The result first: the sample, two ways

The sample has 3,000 synthetic policies and asks: did the customer renew? One column, lapse_notice_sent, is only filled in after the answer is known. Both runs below are trained in this tab as the page loads, with the same engine you use on your own file.

Too good

With every column: test ROC AUC …, accuracy ….

Honest

Without lapse_notice_sent: test ROC AUC …, accuracy …, balanced accuracy …. Always guessing “renewed”: accuracy ….

Training on the sample…

Unlike most in-browser trainers, this one checks for leakage and compares every model with a baseline before showing you a score.

Train on your data

Drop a CSV here or Up to 20 MB. Comma, semicolon or tab separated, first row as column names.

How it works

  1. 1

    Read and profile

    The CSV is parsed in a Web Worker. Each column is typed as a number, a category, free text or an ID. Text and ID columns are left out, with a note.

  2. 2

    Split

    60% train, 20% validation, 20% test, with a fixed seed, stratified by class for classification.

  3. 3

    Guard

    Every column is scored on its own on the validation rows. One that nearly predicts the target alone is flagged as a leakage suspect.

  4. 4

    Train and choose

    A baseline, a regularised linear model and boosted shallow trees. The setting and the model are chosen on validation only.

  5. 5

    Test once

    The chosen model and the baseline are scored once on the test rows, then the columns are shuffled one at a time to see which ones matter.

Preprocessing is fitted on the training rows only: numbers get the median for blanks and are standardised; categories get one column for each of their 15 most common values (at least 5 rows each) and one for everything else. Logistic regression (softmax for more than two classes) or ridge regression tries a few strengths of regularisation; the trees are depth 3, up to 60 rounds, and the number of rounds is picked on validation.

Why I built this

The most expensive model reviews I have sat in were not about clever algorithms. They were about a score that looked great until someone asked two questions: what does a model that knows nothing score, and was any column filled in after the outcome? A renewal model that “knows” a lapse letter went out, or a fraud model that sees the investigator's note, looks excellent in a slide and is useless on the day of the decision.

Those two checks are cheap, so I wanted a tool that does them before it shows any number. Use it to get a first, honest read of a dataset in a few seconds, and to show a team why a baseline and a leakage check belong in every model review.

What this tool is and is not

  • Small models only: a baseline, a linear model and shallow boosted trees. A tuned pipeline will often do better.
  • Not a replacement for a proper ML pipeline: no cross-validation, no feature engineering, no time-based split, no monitoring.
  • Results come from one random split with a fixed seed. Another split would give somewhat different numbers, more so on small files.
  • The leakage guard catches one column that gives the answer away. It cannot catch leakage spread over several columns, or rows that appear twice.
  • Files up to 20 MB; above 50,000 rows with a target, a seeded random 50,000 are used. Up to 30 classes.
  • The sample data is synthetic and Corvane Life is fictional. Feature importance shows what the model uses, not what causes the outcome.