train-model — 模型训练 train-model, opencredit, community, 模型训练, ide skills, MLflow, OpenCredit评分模型, 机器学习, 模型配置, Python模型训练, Claude Code

v1.0.0

关于此技能

适合需要高级模型训练和验证能力的机器学习代理,具有MLflow跟踪功能。 模型训练是指使用机器学习算法和数据对模型进行训练的过程

功能特性

使用MLflow进行模型训练跟踪
支持模型配置YAML文件
验证训练数据和模型配置
使用Python进行模型训练
支持多种模型类型

# 核心主题

zadnan2002 zadnan2002
[0]
[0]
更新于: 3/18/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 5/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Concrete use-case guidance Explicit limitations and caution
Review Score
5/11
Quality Score
33
Canonical Locale
en
Detected Body Locale
en

适合需要高级模型训练和验证能力的机器学习代理,具有MLflow跟踪功能。 模型训练是指使用机器学习算法和数据对模型进行训练的过程

核心价值

赋予代理重新训练OpenCredit评分模型的能力,具有完整的MLflow跟踪和训练后验证功能,利用YAML模型配置和特征存储实现无缝集成。

适用 Agent 类型

适合需要高级模型训练和验证能力的机器学习代理,具有MLflow跟踪功能。

赋予的主要能力 · train-model

使用更新的数据集重新训练OpenCredit模型
使用MLflow验证模型性能
使用UV和MLflow自动化模型训练流水线

! 使用限制与门槛

  • 需要MLflow可访问性
  • 需要模型配置YAML文件位于configs/models/目录中
  • 依赖于数据/或特征存储中训练数据的存在

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The page lacks a strong recommendation layer.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

train-model 是什么?

适合需要高级模型训练和验证能力的机器学习代理,具有MLflow跟踪功能。 模型训练是指使用机器学习算法和数据对模型进行训练的过程

如何安装 train-model?

运行命令:npx killer-skills add zadnan2002/opencredit/train-model。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

train-model 适用于哪些场景?

典型场景包括:使用更新的数据集重新训练OpenCredit模型、使用MLflow验证模型性能、使用UV和MLflow自动化模型训练流水线。

train-model 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

train-model 有哪些限制?

需要MLflow可访问性;需要模型配置YAML文件位于configs/models/目录中;依赖于数据/或特征存储中训练数据的存在。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add zadnan2002/opencredit/train-model。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    train-model 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

train-model

使用OpenCredit评分模型和MLflow进行模型训练和验证,提高模型准确性

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Train model

Train or retrain an OpenCredit scoring model with full MLflow tracking and post-training validation.

Workflow

1. Validate prerequisites

  • Confirm training data exists (check data/ or feature store)
  • Confirm model config YAML exists in configs/models/
  • Confirm MLflow is accessible (uv run mlflow ui or docker service)

2. Run training

bash
1uv run python -m opencredit.models.train \ 2 --config configs/models/<model_type>.yaml \ 3 --experiment-name <descriptive_name> \ 4 --tags market=<market> version=<semver>

3. Evaluate

After training completes, immediately run evaluation:

bash
1uv run python -m opencredit.models.evaluate \ 2 --model-id <mlflow_run_id> \ 3 --test-data data/test.parquet

Check these metrics meet thresholds:

  • AUC-ROC ≥ 0.72
  • Gini ≥ 0.44
  • KS statistic ≥ 0.30
  • Calibration: Brier score ≤ 0.20

4. Bias audit (MANDATORY before promotion)

bash
1uv run python -m opencredit.compliance.bias_audit \ 2 --model-id <mlflow_run_id> \ 3 --attributes gender age_group region

Fail criteria: disparate impact ratio outside 0.8-1.25 on ANY group.

5. Generate model card

bash
1uv run python -m opencredit.compliance.docs_generator \ 2 --model-id <mlflow_run_id> \ 3 --output docs/compliance/

6. Register in MLflow

Only if evaluation AND bias audit pass:

bash
1uv run python -m opencredit.models.register \ 2 --model-id <mlflow_run_id> \ 3 --stage production

Important

  • NEVER skip the bias audit step, even for quick experiments.
  • Log ALL hyperparameters — no magic numbers in training scripts.
  • If training on new market data, create a new experiment in MLflow, don't reuse existing ones.
  • Save the SHAP background dataset alongside the model artifact.

相关技能

寻找 train-model 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具