gnn-statistical-analysis

Aggregate statistical metrics from GNN execution traces across multiple frameworks.

30|3|Updated Apr 2, 2023
One-click install
npx skills add https://github.com/ActiveInferenceInstitute/GeneralizedNotationNotation --skill gnn-statistical-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gnn-statistical-analysis
Source: https://github.com/ActiveInferenceInstitute/GeneralizedNotationNotation/tree/main/src/analysis
Command: npx skills add https://github.com/ActiveInferenceInstitute/GeneralizedNotationNotation --skill gnn-statistical-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, scipy, matplotlib.

What problem does it solve?

Statistical insight into GNN models by extracting, aggregating, and visualizing distributions, complexity metrics, and cross-framework results from pipeline outputs.

Core Features & Use Cases

  • Aggregate variable and connection statistics from GNN definitions and executions.
  • Compute complexity metrics (cyclomatic, cognitive, structural) and quality indicators (maintainability, technical debt).
  • Compare results across frameworks (PyMDP, JAX, RxInfer, ActiveInference.jl, DisCoPy, PyTorch, NumPyro) and produce visualizations.
  • Use in research pipelines to produce dashboards and publication-ready reports.

Quick Start

Run the GNN Statistical Analysis on a directory of simulation outputs to generate aggregated statistics and reports.

Frequently Asked Questions about gnn-statistical-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I aggregate GNN execution statistics across multiple frameworks?

To aggregate GNN execution statistics across multiple frameworks, apply this analysis to simulation output directories. It extracts and aggregates metrics like entropy, mutual information, and complexity to enable cross-model comparisons, returning structured JSON outputs and summary metrics.

What complexity metrics can I compute for GNN models from simulation results?

For GNN models from simulation results, you can compute cyclomatic, cognitive, and structural complexity metrics. The analysis also calculates quality indicators such as maintainability and technical debt to produce comprehensive quality assessment reports.

Can I generate publication-ready visualizations and dashboards from GNN analysis outputs?

Yes, you can generate publication-ready visualizations and dashboards from GNN analysis outputs. The pipeline aggregates variable and connection statistics, returning structured JSON and summary metrics specifically suitable for visualization dashboards and research reports.

Do I need pandas and scipy to run cross-framework GNN statistical comparisons?

Yes, you need pandas, scipy, numpy, and matplotlib installed to run cross-framework GNN statistical comparisons. These dependencies support data aggregation, statistical computation, and visualization for frameworks like PyMDP, JAX, RxInfer, and PyTorch.

What is the best way to quantify entropy and mutual information for GNN execution traces?

The best way to quantify entropy and mutual information for GNN execution traces is to run this statistical analysis on simulation results. It identifies key statistical properties and aggregates these metrics for cross-model quality assessment.