返回顶部
e

elpaELPA编排

Orchestrate real ELPA-style ensemble forecasting workflows by triggering external sub-model training jobs (for example PyTorch/Prophet/TiDE/transformers), then computing ELPA online/offline weights from validation errors. Use when you need production-oriented ensemble training instead of lightweight simulation adapters.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
199
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

elpa

ELPA

概述

本技能不训练玩具适配器。它从您自己的训练代码库触发真实的子模型训练命令,然后基于真实的验证误差构建ELPA路由/权重。

默认模型池有意设置为大于4个,并且可以自由扩展。

工作流程

  1. 1. 准备训练配置JSON(参见 assets/elpatraintemplate.json)。
  2. 对命令计划进行预运行,以验证所有子模型命令。
  3. 在资源可用时执行真实的子模型训练。
  4. 为每个模型准备验证误差输入。
  5. 根据这些误差构建ELPA集成策略JSON。

1) 准备配置

基于 assets/elpatraintemplate.json 创建配置。

  • - 在每个模型的 train_cmd 中放入您真实的训练入口点。
  • 将每个模型标记为 online 或 offline。
  • 根据需要添加任意数量的模型;ELPA不限于4个。

2) 预运行计划(不进行训练)

bash
python3 scripts/elpa_orchestrator.py \
--config assets/elpatraintemplate.json \
--run-dir .runtime/elpa_run \
--manifest-out .runtime/elparun/trainmanifest.json

此命令将打印并记录将要运行的命令,但不进行训练。

3) 执行真实训练

bash
python3 scripts/elpa_orchestrator.py \
--config /path/to/yourtrainconfig.json \
--run-dir .runtime/elpa_run \
--manifest-out .runtime/elparun/trainmanifest.json \
--execute

仅在具备所需机器学习依赖和硬件的环境中使用此命令。

4) 构建ELPA集成策略

在每个子模型产生验证误差后,运行:

bash
python3 scripts/elpa_integrator.py \
--config /path/to/yourintegrateconfig.json \
--output .runtime/elparun/elpapolicy.json

输出包括:

  • - 每个模型基于验证误差的 scores
  • onlineweights 和 offlineweights
  • bestonlinemodel 和 bestofflinemodel
  • ELPA控制字段(beta、dirtyinterval、amplitudewindow、mutant_epsilon)

模型扩展

要支持更多模型,请在配置中追加模型块,包含:

  • - 唯一的 name
  • group 为 online 或 offline
  • 真实的 train_cmd

添加模型无需修改脚本。

文件

  • - scripts/elpaorchestrator.py:真实子模型训练命令规划器/执行器
  • scripts/elpaintegrator.py:基于验证误差的ELPA分数/权重构建器
  • assets/elpatraintemplate.json:>4个模型的真实训练模板
  • assets/elpaintegratetemplate.json:ELPA集成模板
  • references/config-schema.md:配置字段参考和占位符

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 elpa-1776099911 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 elpa-1776099911 技能

通过命令行安装

skillhub install elpa-1776099911

下载

⬇ 下载 elpa v1.0.0(免费)

文件大小: 8.19 KB | 发布时间: 2026-4-15 12:37

v1.0.0 最新 2026-4-15 12:37
- Initial release of the elpa skill, enabling orchestration of real ELPA-style ensemble forecasting workflows.
- Supports triggering external sub-model training jobs using your own training scripts for frameworks like PyTorch, Prophet, and transformers.
- Automatically computes ELPA ensemble weights and policies from real sub-model validation errors.
- Provides scalable model pool support—no hard limit on the number of models.
- Includes templates, orchestration scripts, and integration tools for production-ready ensemble pipelines.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部