MModel Ledger
AI coding workspace

Machine-learning data splits

Model evaluation starts with the data boundary. Model Ledger helps you examine split logic and preprocessing code before drawing conclusions from a result.

● ● ●Model Ledger●
A concrete starting point · Machine-learning data splits ×
train_groups, test_groups = split_groups(group_ids)
assert not set(train_groups) & set(test_groups)
train = rows_in_groups(data, train_groups)
test = rows_in_groups(data, test_groups)
✳Split machine-learning data by the entity that could leak across sets.
✓ ChangesReview before applying ↗
Illustrative workspace
01

Connection

Base URL, credentials and a reachable server.

02

Project

Keep each group on one side and fit preprocessing on training data before applying it to held-out rows.

03

Review before applying

Compare actual behavior with the expected result. If a check fails, investigate it before applying more changes.

Workflows

Machine-learning data splits

Workflows ↗
A concrete starting point
train_groups, test_groups = split_groups(group_ids)
assert not set(train_groups) & set(test_groups)
train = rows_in_groups(data, train_groups)
test = rows_in_groups(data, test_groups)
AI coding workspace

Your next change starts here.

Get the Windows app ↗