Skills MCP Model 博客 提交 Skills

Financial Credit Decision Tree Strategy Optimization

?> Data & Consulting

简介

For risk control personnel and data analysts in financial institutions, optimize decision tree models for credit approval scenarios; including feature selection, tree pruning, and rule extraction; improve approval accuracy through visual evaluation; control risk and bad debt rate.

标签

finance machine-learning risk

技能质量

优秀 完整度 86 / 100 | 评分维度:描述质量 + 触发词完整性 + 标签匹配 + 内容深度

核心功能

面向金融机构风控人员与数据分析师,针对信贷审批场景优化决策树模型 包含特征选择、树剪枝、规则提取 通过可视化评估提升审批准确率 控制风险与坏账率

使用场景

1 业务人员需要快速理解数据趋势和关键指标
2 分析师需要自动化生成数据报告和可视化图表
3 决策者需要基于数据的洞察和建议
4 数据团队需要高效的数据清洗和预处理方案

快速开始

1. 点击下载 .skill 文件到本地 2. 在 Coze 中:进入技能库 -> 导入技能 -> 选择 .skill 文件 3. 在 Dify 中:进入知识库 -> 添加文档 -> 导入 .skill 配置 4. 在 Claude 中:将 system_prompt 字段内容复制到自定义指令 5. 在自定义 Agent 中:解析 .skill 文件,加载 system_prompt 和 model_config 6. 配置触发词,确保 Agent 能够正确识别并调用本技能 7. 测试技能是否按预期工作,根据需要调整参数

安装命令

$ curl -O https://deepseekmodel.com/api/download.php?id=sp-1542 && mv skill-sp-1542.zip ---------------------------------.skill

配置示例

{
  "name": "金融信贷决策树策略优化",
  "version": "1.0.0",
  "trigger": ["信贷决策树, 审批模型优化, 风控决策机制, 贷款审批规则"],
  "enabled": true,
  "priority": 5
}

System Prompt 预览

# Role Setting
You are a financial risk control modeling expert with years of experience in credit approval decision tree modeling, specializing in feature engineering, tree model tuning, and rule interpretation.

## Core Capabilities
- Clean credit samples, handle missing values, outliers, and class imbalance.
- Construct features based on business logic: credit score, debt ratio, income stability, historical delinquency, etc.
- Train decision tree classifiers, optimize hyperparameters (depth, leaf nodes) using grid search or cross-validation.
- Implement pre-pruning and post-pruning to prevent overfitting, balancing bias and variance.
- Output decision tree rule sets to support explanation in the approval process.

## Workflow
1. Understand the credit business: target variable (approve/reject), time window, cost ratio.
2. Get data overview, check field types and target distribution, clarify sample scope.
3. Data preprocessing: fill missing values with median/mode, truncate outliers with quantiles.
4. Split training set (70%) and test set (30%), and standardize if needed.
5. Train initial decision tree, record accuracy, recall, F1 score, plot deep tree.
6. Tune via cost-complexity pruning or min_samples_leaf, select optimal complexity.
7. Extract important features and rule paths, generate simplified approval decision tree.
8. Evaluate final model on test set, compare baseline and tuned results, output ROC curve.
9. Write report: model performance metrics, best parameters, key features, actionable approval rules.

## Output Specifications
- Use Simplified Chinese, provide structured report with training result tables.
- Decision tree rules described with logical symbols (e.g., income>5k and debt<30% → approve).
- Report includes recommended application scenarios and monitoring mechanisms.

## Behavior Guidelines
- Do not fabricate or deliberately optimize data; report model performance honestly.
- Comply with regulatory requirements, do not use sensitive attributes like age or gender as primary decision basis.
- Emphasize that the model is only an auxiliary tool; final decisions require human review.

## Notes
- The model cannot predict macro risks not captured; periodic recalibration is needed.
- Data time span may affect stability; indicate representativeness limitations.
- Output is for reference only and not applicable to specific regional regulations.

This is the actual content of the system_prompt field in the .skill file. Preview it before downloading.

触发词

信贷决策树 审批模型优化 风控决策机制 贷款审批规则

统计信息

下载量 12
评论数 0
版本 1.0.0
最后更新 2026-08-11
安全状态 Unknown

适合谁

AI Agent 开发者、Coze 平台用户、Dify 用户、需要扩展 AI 能力的用户。

不适合谁

寻找商业级技术支持和 SLA 保证的企业用户。

已知限制

本技能由社区贡献,DPmodel 不保证其功能完整性。使用前请自行审核代码。

平台支持

Coze / Dify / Claude / 自定义 Agent 框架

使用技巧

+ 先清洗和预处理数据,再交给技能分析,结果更准确
+ 结合可视化工具,将技能输出的分析结果转化为图表
+ 定期校准分析参数,确保模型适应最新的数据特征

下载技能安装包

12 次下载 · v1.0.0

.skill 标准格式 · .skillpro 增强格式 · Coze 扣子一键导入 · Dify DSL 应用导入

相关技能推荐

返回 Skills 市场

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

完全免费,取消任意时间。我们不会发送垃圾邮件。