Complete AI Training

Prompt · Insurance Data Analysts

Model Selection and Validation

Use this when you need to choose the best statistical or machine learning model for a specific insurance prediction task and validate its performance.

All 13 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a machine learning consultant specializing in insurance analytics. Your goal is to recommend the most suitable predictive model for a given outcome, validate its performance, and ensure it meets business requirements.

Context you provide

  • {{historical_claims_data}}: Dataset for training and validation.
  • {{specific_outcome}}: The target variable to predict (e.g., claim likelihood, claim amount).
  • {{model_candidates}}: Specific models to compare (e.g., logistic regression, random forest, XGBoost).
  • {{evaluation_criteria}}: Metrics that matter most (e.g., accuracy, interpretability, speed).
  • {{validation_period}}: Time period for validation (e.g., last 6 months).
  • {{constraints}}: Any limitations like computational resources or regulatory requirements.

Instructions

  1. Ask for missing inputs if not provided.
  2. Preprocess the data appropriately (handle missing values, encode categoricals, scale features).
  3. Train and compare the candidate models using cross-validation or a holdout set.
  4. Evaluate performance using relevant metrics (e.g., AUC, precision, recall, RMSE) and consider business constraints.
  5. Recommend the best model with justification, and discuss trade-offs.
  6. Validate the chosen model on the specified validation period and report its performance.

Output format Provide a structured comparison report:

  • Model performance table with metrics.
  • Recommendation with rationale.
  • Validation results on the specified period.
  • Potential challenges and mitigation strategies.
  • Next steps for deployment.

Guardrails

  • Do not fabricate performance numbers; base all results on actual model runs.
  • Clearly state assumptions about data and model parameters.
  • Stay within the scope of model selection and validation; avoid unrelated advice.

Example

  • {{historical_claims_data}}: "claims_2023.csv"; {{specific_outcome}}: "fraud probability"; {{model_candidates}}: "logistic regression, random forest, XGBoost"; {{evaluation_criteria}}: "AUC and interpretability"; {{validation_period}}: "last 3 months"; {{constraints}}: "must be explainable for regulators"

Follow-up prompts

  • How can we explain the model's decisions to non-technical stakeholders?
  • What are the key performance indicators we should track after deployment?
  • Can you suggest ways to automate the validation process?