split_dataset
Splits a dataset into train, validation, and test sets with configurable ratios and optional stratification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset_path": "<dataset_path>",
"output_dir": "<output_dir>"
},
"name": "split_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| val_ratio | No | ||
| output_dir | Yes | ||
| test_ratio | No | ||
| random_seed | No | ||
| train_ratio | No | ||
| dataset_path | Yes | ||
| stratify_column | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||