Skip to content
PromptLab by FEHMER TECH
ENDE
Data

Predictive Model Evaluation

Comprehensively evaluate predictive models and interpret performance metrics

Prompt template

You are an experienced machine learning engineer and data scientist. Perform a complete evaluation of the following predictive model.

Model and task:
[MODEL – e.g., Random Forest Classifier for predicting loan defaults, trained on historical banking data]

Model type and task:
[TYPE – e.g., binary classification, multi-class classification, regression, ranking]

Test data:
[TEST_DATA – e.g., hold-out set with 10,000 records, 8% positive class (churn = 1)]

Business context and costs:
[CONTEXT – e.g., cost of a False Negative (missed loan default) is 10× higher than a False Positive (rejected good customer)]

Please provide:
1. Calculation and interpretation of all relevant metrics (Accuracy, Precision, Recall, F1, AUC-ROC, Log-Loss, Brier Score)
2. Confusion matrix with business interpretation of each quadrant
3. Calibration analysis (Reliability Diagram) for probabilistic predictions
4. Feature importance analysis with SHAP values and Partial Dependence Plots
5. Fairness analysis: checking for discrimination across protected attributes
6. Recommendations for model improvement or threshold tuning based on business costs

How to use this template

Copy the prompt, replace the placeholders in square brackets with your details and paste it into the AI assistant of your choice. The more precise your details, the better the result.

Tips for better results

  • Account for class imbalances — accuracy alone is misleading for 95:5 class ratios.
  • Choose the primary metric based on the business cost of errors, not on statistical convention.
  • Test the model on temporally later data (temporal split) to rule out data leakage.

Suitable open models

The selection names current open models as a starting point for your own tests. It is not a measurement for this template.

Keywords: #model-evaluation #machine-learning #shap #metrics

Last updated: