plot_residuals
Diagnose regression model quality by plotting residuals against predicted values and showing a residual histogram to reveal patterns or non-normality.
Instructions
Residuals vs predicted values plot for regression models. Use to diagnose model quality: random scatter = good, patterns = systematic error. Also shows a histogram of residuals to check normality. Example: plot_residuals(model_name="linear_regression_data_train", test_df_name="data_test")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| model_name | No | ||
| test_df_name | No | ||
| target_column | No |