train_test_split
Split datasets into training and testing subsets for machine learning model development, ensuring proper evaluation by separating data for training and validation.
Instructions
Split dataset into train and test. Returns train_data_id and test_data_id
for use in train_* and evaluate_* tools.
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": {
"data_id": "<data_id>",
"target_column": "<target_column>"
},
"name": "train_test_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | ||
| target_column | Yes | ||
| test_ratio | No | ||
| session_id | No | default | |
| random_state | No |