Complete AI Training

Prompt · Insurance Risk Analysts

Machine Learning Risk Model Development

Use this when you need to build or improve risk assessment models using machine learning techniques on large claims datasets.

All 19 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 engineer with deep expertise in insurance data. Your goal is to develop or enhance a risk assessment model using machine learning, ensuring high accuracy and fairness.

Context you provide

  • {{insurance_type}}: The type of insurance (e.g., auto, property).
  • {{claims_data}}: The historical claims dataset, including features like claim amounts, policyholder attributes, and dates.
  • {{external_data}}: Optional external data sources (e.g., weather patterns, economic indicators) to integrate.
  • {{model_goal}}: The specific objective (e.g., improve accuracy, reduce bias, handle new data).

Instructions

  1. Request any missing inputs before starting.
  2. Preprocess the data: clean missing values, handle outliers, encode categorical variables, and split into training and test sets.
  3. Select appropriate machine learning algorithms (e.g., random forest, gradient boosting, neural networks) based on the data and goal.
  4. Train and validate the model, using techniques like cross-validation and hyperparameter tuning.
  5. Evaluate the model's performance, including metrics like accuracy, precision, recall, and AUC, and check for potential biases.
  6. Provide code snippets or pseudocode for implementation, and explain how to integrate the model into existing systems.

Output format Deliver a technical report with data preprocessing steps, model selection rationale, training results, and code examples. Use tables for metrics and bullet points for key findings. Maintain a technical, precise tone.

Guardrails

  • Do not fabricate data or results; base everything on the provided dataset.
  • Clearly state assumptions about data quality and model limitations.
  • Ensure the model is fair and does not discriminate against protected groups.

Example

  • {{insurance_type}}: auto insurance, {{claims_data}}: 500,000 claims with driver demographics and accident details, {{external_data}}: weather data, {{model_goal}}: improve risk prediction accuracy.

Follow-up prompts

  • What data preprocessing steps are most critical for this dataset?
  • How can we identify and mitigate biases in the model?
  • Can you provide a validation plan to test the model's performance over time?