All Projects

Credit Scorer: EU AI Act Compliant MLOps

An end-to-end credit scoring workflow that automatically generates the technical evidence required by the EU AI Act.
Project
Credit Scorer: EU AI Act Compliant MLOps
project id
credit-scorer-eu-ai-act-compliant-mlops
Use this id to create a new project in ZenML
GITHUB REPOSITORY
https://github.com/zenml-io/zenml-projects/tree/main/credit-scorer
Pipelines

Feature Engineering Pipeline

Pipeline that ingests raw credit data, profiles quality with WhyLogs, applies cleaning and encoding, and stores versioned feature sets. Addresses EU AI Act Articles 10 and 12.

Training Pipeline

Pipeline that trains LightGBM models with bias-aware techniques, evaluates performance across demographic groups, and conducts comprehensive risk assessment. Addresses Articles 9, 11, and 15.

Deployment Pipeline

Pipeline that implements human oversight gates, deploys models to Modal, generates SBOM and Annex IV documentation, and sets up post-market monitoring. Addresses Articles 14, 17, and 18.

Recommended Stack

Stack Components

  • Orchestrator: default
  • Artifact Store: aws-zenml-dev
Details

Credit Scorer is a production-ready credit scoring system that demonstrates full EU AI Act compliance for high-risk AI systems. Built with comprehensive MLOps pipelines, it automatically generates all required technical documentation, ensures robust risk management, and maintains complete audit trails with versioned artifacts.

What It Does

Credit Scorer transforms loan application data into compliant credit scoring predictions while automatically generating all EU AI Act compliance artifacts. It processes sensitive financial data through automated pipelines that ensure data quality, fairness across demographic groups, and comprehensive documentation for regulatory inspection.

How It Works

  • Ingests credit application data with SHA-256 provenance tracking and WhyLogs profiling
  • Engineers features with automated preprocessing and sensitive attribute handling
  • Trains LightGBM models with bias-aware techniques and class imbalance handling
  • Evaluates performance with accuracy, AUC, and fairness metrics across protected groups
  • Implements human oversight gates with Slack-based approval workflows
  • Deploys models as Modal API services with integrated monitoring
  • Generates complete Annex IV documentation and Software Bill of Materials (SBOM)
  • Provides real-time compliance dashboards for stakeholders and auditors
Gallery