Connection
Base URL, credentials and a reachable server.
Split machine-learning data by the entity that could leak across sets. Keep each group on one side and fit preprocessing on training data before applying it to held-out rows.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
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)