A share ensemble model

From aifinlab/FinClaw · View interactive version

A share ensemble model is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股集成模型/多模型融合策略。当用户说"集成模型"、"ensemble"、"模型融合"、"stacking"、"blending"、"多模型"、"模型组合"时触发。基于 cn-stock-data 获取数据,构建多模型集成策略。支持 formal/brief 两种输出风格。

How to use this skill

Skill file

集成模型/多模型融合助手

数据获取

通过 cn-stock-data skill 获取数据:

分析工作流

Step 1: 子模型构建

Step 2: 集成方法选择

Step 3: 集成效果评估

Step 4: 动态集成

Step 5: 输出报告

输出格式

formal 风格(研报级)

# 集成模型报告

## 一、子模型概览
| 模型 | IC | 权重 |
|------|-----|------|

## 二、集成表现
[集成IC/Sharpe vs 单模型]

## 三、模型贡献
[各模型边际贡献分析]

## 四、当期信号
[集成预测Top/Bottom]

brief 风格(快速分析)

## 集成模型速览
- 5个子模型加权集成
- 集成IC=0.055 vs 最优单模型0.042
- Sharpe提升 +0.4
- 本期集成Top10:[股票列表]

参考 references/ensemble-model-guide.md 获取详细方法论与 A股实证研究。

使用示例

示例 1: 基本使用

# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})

示例 2: 命令行使用

python scripts/run_skill.py --input data.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.