界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

graph-time-series-workflows

graph-time-series-workflows

【效率与协作】Guides StellarGraph graph-level classification and spatio-temporal forecasting with PaddedGraphGenerator, GCN graph classifiers, DeepGraphCNN, SortPooling, SlidingFeaturesNodeGenerator, and GCN_LSTM.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: graph-time-series-workflows description: "Guides StellarGraph graph-level classification and spatio-temporal forecasting with PaddedGraphGenerator, GCN graph classifiers, DeepGraphCNN, SortPooling, SlidingFeaturesNodeGenerator, and GCN_LSTM." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Graph Classification and Time Series

Use this sub-skill for graph-level supervised learning or spatio-temporal forecasting where the unit of prediction is a whole graph or a future sequence on graph nodes.

Read first

Route here when the user asks to

  • classify a collection of graphs with graph labels;
  • use PaddedGraphGenerator, GCNSupervisedGraphClassification, DeepGraphCNN, or SortPooling;
  • forecast traffic/sensor/time-series values over graph nodes;
  • use SlidingFeaturesNodeGenerator, FixedAdjacencyGraphConvolution, or GCN_LSTM;
  • debug graph batch padding, graph-level targets, fixed adjacency, seq_len, or sliding-window target distance.

Route elsewhere

Operating workflow

  1. Decide whether the sample unit is a graph (PaddedGraphGenerator) or a time window over nodes (SlidingFeaturesNodeGenerator).
  2. For graph classification, create a list of StellarGraph objects and a target vector/DataFrame with one row per graph.
  3. For time series, create a graph with sequence-valued node features and a fixed adjacency matrix compatible with GCN_LSTM.
  4. Inspect one generator batch before adding model layers.
  5. Add Keras output heads/losses for graph-level classification/regression or forecasting targets.

Safe checks

python sub-skills/graph-time-series-workflows/scripts/graph_batch_smoke.py
python sub-skills/graph-time-series-workflows/scripts/time_series_shape_smoke.py
我的收藏