select_best_model
Chooses the model to use by applying a selected metric rule (default: recall, then precision, then accuracy) to compare trained classifiers and decide which one to use.
Instructions
Select the best model using a rule (default: recall, then precision, then accuracy).
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": "select_best_model"
}
}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 |