Train Credit Scoring Model is a finance Claude Skill built by Adnan El Zahabi. Best for: Credit risk teams retrain scoring models on new data, validate performance metrics, audit for bias, and promote to production with full compliance documentation..
Train and validate credit scoring models with MLflow tracking, bias audits, and compliance documentation.
Train or retrain an OpenCredit scoring model with full MLflow tracking and post-training validation.
data/ or feature store)configs/models/uv run mlflow ui or docker service)uv run python -m opencredit.models.train \
--config configs/models/<model_type>.yaml \
--experiment-name <descriptive_name> \
--tags market=<market> version=<semver>
After training completes, immediately run evaluation:
uv run python -m opencredit.models.evaluate \
--model-id <mlflow_run_id> \
--test-data data/test.parquet
Check these metrics meet thresholds:
uv run python -m opencredit.compliance.bias_audit \
--model-id <mlflow_run_id> \
--attributes gender age_group region
Fail criteria: disparate impact ratio outside 0.8-1.25 on ANY group.
uv run python -m opencredit.compliance.docs_generator \
--model-id <mlflow_run_id> \
--output docs/compliance/
Only if evaluation AND bias audit pass:
uv run python -m opencredit.models.register \
--model-id <mlflow_run_id> \
--stage production
/plugin install train-credit-scoring-model@zadnan2002Requires Claude Code CLI.
Credit risk teams retrain scoring models on new data, validate performance metrics, audit for bias, and promote to production with full compliance documentation.
No reviews yet. Be the first to review this skill.
Adnan El Zahabi
@zadnan2002