predict_knn
Classify breast cancer tumors as malignant (0) or benign (1) using the saved KNN model from 30 numeric input features.
Instructions
Predict malignant (0) or benign (1) using the saved KNN model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Feature dictionary with all 30 breast cancer features as numbers, keyed by their exact names (e.g. 'mean radius', 'worst area'). Use get_sample_input to get a valid example. | |
| request_id | No | Your own id for this call; recorded in the audit log. | unknown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |