plot_precision_recall_curve
Plot precision-recall curves for binary classification models to evaluate performance on imbalanced datasets, showing the trade-off between precision and recall.
Instructions
Precision-Recall curve for binary classification models. Better than ROC for imbalanced datasets. Shows trade-off between precision and recall. Example: plot_precision_recall_curve(model_name="logistic_data_train", test_df_name="data_test")
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": "plot_precision_recall_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| model_name | No | ||
| test_df_name | No | ||
| target_column | No |