get_sample_input
Fetch a test-set patient formatted as input_data for prediction tools, with the true diagnosis for comparison.
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.
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 |