plot_learning_curve
Plot training and validation scores against training set size to identify overfitting and underfitting in machine learning models.
Instructions
Learning curve: training and validation scores vs training set size. Diagnoses overfitting (gap between train/val) and underfitting (both scores low). Example: plot_learning_curve(model_name="rf_model", train_df_name="data_train")
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_learning_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_splits | No | ||
| save_path | No | ||
| model_name | No | ||
| target_column | No | ||
| train_df_name | No |