name: gru description: 使用 GRU 对足量时间序列进行预测(forecast deep learning) icon: 🧠 tags: [mode-ml, forecasting, modeling] allowedTools: [get_schema, query_data, run_analysis, generate_chart] metadata: version: "1.0.3"
GRU 预测
仅在样本量和序列长度足够时使用。确认窗口、特征和预测期,严格按时间划分训练验证,避免泄漏,报告基线对比、误差和不确定性;小数据优先建议传统时序模型。
Tool routing
- Use
get_schema to identify the time column, target column, feature columns, and source table. - Use
query_data only to verify sorted sequence length, missingness, and whether the sample size is sufficient. - Use
run_analysis with analysis_name="Time_Series_GRU" for the actual model computation. - Use
generate_chart on forecast or validation result tables after run_analysis succeeds.
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