v2026.11.2
All Bundles
Bundle

Experiment support for a parameter sweep: a deterministic stratified hold-out split, class-ratio resampling of the training half against a fixed test set, a wall-clock stopwatch and label helpers. Compile with -lib ml,ml_lab,csv,json, or with the ai alias group. Design: docs/ML_LAB_SUPPORT_DESIGN.md.

IndexSplit

The row indexes of a train/test split, each half in ascending order.

Operations

GetTest #

Test row indexes, ascending.

method : public : GetTest() ~ Int[]

Return

TypeDescription
Introw indexes

GetTrain #

Training row indexes, ascending.

method : public : GetTrain() ~ Int[]

Return

TypeDescription
Introw indexes

New # constructor

Constructor

New(train:Int[], test:Int[])

Parameters

NameTypeDescription
trainInttraining row indexes, ascending
testInttest row indexes, ascending