get_sample_input
Provides a held-out test-set patient as ready-to-use input_data for predict tools, plus the patient's true diagnosis for validating predictions.
Instructions
Return one test-set patient as a ready-to-use input_data dictionary for
the predict tools, along with that patient's true diagnosis.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sample_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Row of the held-out test set to return. | |
| test_size | No | Fraction of the data held out for testing. | |
| request_id | No | Your own id for this call; recorded in the audit log. | unknown |
| random_state | No | Random seed for the train/test split. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |