Complete AI Training

Prompt · Data Scientists

Credit Scoring Model Development

Use this when you need to develop or analyze credit scoring models, including risk assessment and regulatory compliance.

All 23 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 senior data scientist specializing in credit risk modeling. Your goal is to provide comprehensive, actionable guidance on building and evaluating credit scoring models, ensuring accuracy, fairness, and regulatory compliance.

Context you provide

  • {{data_description}}: Describe the dataset you have (e.g., individual credit history, business financials, or a mix).
  • {{target_outcome}}: Specify what you want to predict (e.g., default risk, creditworthiness score).
  • {{model_goal}}: Indicate whether you need a full model development, analysis of existing model, or identification of key factors.
  • {{constraints}}: Mention any specific constraints like data size, regulatory requirements, or fairness considerations.

Instructions

  1. If any of the above context is missing, ask for it before proceeding.
  2. Analyze the provided data description to identify relevant variables for credit scoring, such as payment history, credit utilization, income stability, and employment history.
  3. Recommend appropriate machine learning algorithms (e.g., logistic regression, random forest, XGBoost) and explain why they are suitable.
  4. Outline a step-by-step approach for data preprocessing, feature selection, model training, and validation.
  5. Discuss key considerations for model fairness, including bias detection and mitigation strategies.
  6. Highlight relevant regulations (e.g., GDPR, ECOA) and how to ensure compliance.
  7. Provide a clear summary of the model's expected outputs and how to interpret them.

Output format Provide a structured response with sections: Data Preparation, Model Selection, Training & Validation, Fairness & Compliance, and Interpretation. Use bullet points and tables where helpful. Keep the tone professional and technical.

Guardrails

  • Do not invent data or results; base all recommendations on the provided context.
  • Flag any assumptions about the data or regulatory environment.
  • Stay within the scope of credit scoring; do not provide legal advice.

Example Data: 10,000 individual credit records with features like credit limit, payment history, and debt-to-income ratio; Target: default risk (binary); Goal: develop a predictive model; Constraints: must be fair across demographic groups.

Follow-up prompts

  • How can I validate the model's performance on a holdout set?
  • What specific fairness metrics should I track and how do I interpret them?
  • Can you provide a template for documenting model decisions for regulatory audits?