capabilities.work

Split labeled items keeping label proportions

One step with Delx. We can help you get access.

Look something up

Split labeled items keeping label proportions

with Delx

Use Delx: its Delx Commerce — services for autonomous agents X402 API lets you split labeled items keeping label proportions in a single step (POST /api/v1/x402/seeded-stratified-split). capabilities.work can help you get signed up and connected.

  • How do I make a test split that keeps the same class balance as my data?
  • Can I stratify a train/test split by label?
Say it to your AI assistant
  • Stratify-split labels {labels} with test fraction {test_fraction} and seed {seed}.
  • Hold out {test_fraction} per class from {labels} reproducibly using {seed}.
For your developer

POST /api/v1/x402/seeded-stratified-split in Delx Commerce — services for autonomous agents X402 API. Full spec on APIs.io.