select_best_model
Selects a breast-cancer model by ranking trained candidates with a chosen rule, defaulting to recall, then precision, then accuracy.
Instructions
Select the best model using a rule (default: recall, then precision, then accuracy).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | One of: recall_then_precision_then_accuracy, accuracy, precision, recall. Precision/recall refer to the malignant class. | recall_then_precision_then_accuracy |
| 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. | |
| knn_neighbors | No | Number of neighbors for the KNN model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |