Split & sampling inspector

See what changes when you split by row, class, group or time.

1–1,000 rows. Preview: first 20. Downloads include all rows.

Same seed and settings, same recipe. New seed gives a different sample.

Settings and five recent runs stay in this browser.

Latest result

Ready when you are

See what changes when you split by row, class, group or time.

Clear recent runs?

This clears the current result and recent runs on this device. Undo can restore them while this page is open.

How it works

  1. Choose a split method and training/validation percentages. The remaining share becomes the test partition. Use at least 10 rows.
  2. Generate the fixture and inspect actual split sizes, class counts and the group overlap report.
  3. Export rows with their split assignments and save the recipe. Compare methods using the same seed to keep the underlying fixture.

Different splits answer different questions

Random splitting shuffles rows. Stratification allocates each label proportionally using largest remainders. Grouped splitting allocates whole five-row groups, so row percentages can differ from the requested percentages. Chronological splitting keeps date order. All methods assign each stable row_id exactly once. The report counts groups appearing in multiple partitions and absent classes; it does not claim every downstream workflow is leakage-free.

Your inputs stay with you

Your inputs and generated results stay in this browser. Settings and five recent runs use local storage; clearing browser data removes them. Export a copy to keep it. Hosting may record standard page-request logs, but generated rows and participant names are not sent to the server.

Why can a class be absent from a split?

Small partitions and rare classes cannot always satisfy every percentage and include every class. A zero-size validation partition is allowed. Fit preprocessing on training data only, and choose a splitting unit that reflects your real task. This inspector uses generated fixtures so you can see those tradeoffs without uploading private data.

Repeatable test data

The research tools use the versioned xoshiro128** pseudorandom generator with named seed streams. They are intended for small examples and testing, not secrets or certified draws. A recipe records parameters and generator version. Floating-point transforms are rounded to six decimal places; keep exported files when exact cross-platform bytes matter.

Seeds are repeatable. Use the password generator for credentials.

Privacy settings

Choose whether this browser allows optional Google Analytics. We remember your preference for up to 180 days. You can change it here at any time.

Optional analytics is not enabled on this site. No Google Analytics tag is loaded.