Skip to content

mcoric96/GNN-for-timeseries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GNN Model for Time Series

This repository contains a Graph Neural Network (GNN) model designed for time series analysis. The model leverages graph-based representations to capture complex dependencies in sequential data.

Overview

Traditional time series models often struggle to capture relationships beyond simple temporal dependencies. By representing time series data as graphs, the GNN model can learn both temporal and relational patterns, improving forecasting and anomaly detection tasks.

Model Logic

  1. Graph Construction

    • Each feature/signal is treated as a node in a graph.
    • Edges represent dependencies (e.g., temporal adjacency, similarity, or domain-specific relationships).
  2. Node Feature Encoding

    • Raw time series values or extracted features are assigned to nodes.
    • Optional preprocessing includes normalization or embedding.
  3. Graph Neural Network Layers

    • Message passing aggregates information from neighboring nodes.
    • Multiple GNN layers allow the model to learn higher-order dependencies.
  4. Readout & Prediction

    • Node or graph-level embeddings are used for downstream tasks (e.g., forecasting future values, classification).
    • Output layers map embeddings to predictions.

About

Graph neural network architecture for timeseries processing - PyTorch implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages