gru
GitHub使用 GRU 深度学习模型对时间序列数据进行预测,包含数据验证、模型计算及结果可视化。
Trigger Scenarios
需要对足够样本量的时间序列进行深度学习预测
需要执行 GRU 时序分析并生成图表
Install
npx skills add Zafer-Liu/Data-Analysis-Agent --skill gru -g -y
SKILL.md
Frontmatter
{
"icon": "🧠",
"name": "gru",
"tags": [
"mode-ml",
"forecasting",
"modeling"
],
"description": "使用 GRU 对足量时间序列进行预测(forecast deep learning)",
"allowedTools": [
"get_schema",
"query_data",
"run_analysis",
"generate_chart"
]
}
GRU 预测
仅在样本量和序列长度足够时使用。确认窗口、特征和预测期,严格按时间划分训练验证,避免泄漏,报告基线对比、误差和不确定性;小数据优先建议传统时序模型。
Tool routing
- Use
get_schemato identify the time column, target column, feature columns, and source table. - Use
query_dataonly to verify sorted sequence length, missingness, and whether the sample size is sufficient. - Use
run_analysiswithanalysis_name="Time_Series_GRU"for the actual model computation. - Use
generate_charton forecast or validation result tables afterrun_analysissucceeds.
Implementation reference
- Tool entry:
agent/tools/business/data.py::_tool_run_analysis - Analysis registry:
Function/Analyze/registry.py - Analysis implementation:
Function/Analyze/Time_Series_GRU/analyze.py - Chart implementation:
Function/Charts_generation/chart_generate.py
Version History
- 87489fb Current 2026-11-02 19:30
- d6a2c3e 2026-07-24 12:12


