get_sample_input
Retrieve a held-out test patient as a ready-to-use input_data dictionary for prediction tools, including the patient's true diagnosis.
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 |