Command Palette

Search for a command to run...

Назад к скиллам
скилл № 17529

gnn-statistical-analysis

GNN advanced statistical analysis and result aggregation. Use when performing statistical analysis on simulation results, cross-simulation aggregation…

БесплатноЗапускает вложенные скрипты
ActiveInferenceInstituteот ActiveInferenceInstitute★ 36 звёзд на GitHub

Установить gnn-statistical-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

GNN Statistical Analysis (Step 16)

Purpose

Performs advanced statistical analysis on pipeline outputs including simulation results, cross-framework comparison, Active Inference metrics, and comprehensive statistical reporting.

Key Commands

# Run analysis
python src/gnn/16_analysis.py --target-dir input/gnn_files --output-dir output --verbose

# As part of pipeline
python src/gnn/main.py --only-steps 16 --verbose
from pathlib import Path
from gnn.analysis import (
    process_analysis,
    perform_statistical_analysis,
    calculate_variable_statistics,
    calculate_connection_statistics,
    calculate_complexity_metrics,
    calculate_maintainability_index,
    analyze_framework_outputs,
    generate_framework_comparison_report,
    analyze_simulation_traces,
    analyze_free_energy,
    compute_shannon_entropy,
    compute_kl_divergence,
    compute_variational_free_energy,
    compute_expected_free_energy,
    generate_analysis_summary,
)

# Process analysis step (used by pipeline)
process_analysis(target_dir, output_dir, verbose=True)

# Statistical analysis (takes a file path)
stats = perform_statistical_analysis(Path("models/my_model.md"))

# Complexity metrics (takes a file path)
metrics = calculate_complexity_metrics(Path("models/my_model.md"))

# Framework comparison
report = generate_framework_comparison_report(results)

# Active Inference metrics (numpy arrays)
entropy = compute_shannon_entropy(distribution)
kl_div = compute_kl_divergence(p, q)
vfe = compute_variational_free_energy(observations, beliefs, A_matrix)
efe = compute_expected_free_energy(beliefs, A_matrix, B_matrix)

Key Exports

  • process_analysis — main pipeline processing function
  • perform_statistical_analysis — core statistical analysis
  • calculate_complexity_metrics, calculate_maintainability_index, calculate_technical_debt
  • analyze_framework_outputs, generate_framework_comparison_report
  • compute_shannon_entropy, compute_kl_divergence, compute_variational_free_energy, compute_expected_free_energy

Output

  • Analysis reports in output/16_analysis_output/ (analysis_results.json, analysis_summary.md, cross_model_comparison_report.md)
  • Statistical summaries and aggregations
  • Comparative visualizations and GridWorld GIFs (disable with --no-animations)

MCP Tools

This module registers tools with the GNN MCP server (see mcp.py):

  • compute_complexity_metrics
  • evaluate_torchlens_fidelity
  • get_analysis_results
  • list_analysis_tools
  • process_analysis

References


Documentation

  • README: Module Overview
  • AGENTS: Agentic Workflows
  • SPEC: Architectural Specification
  • SKILL: Capability API
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • AGENTS.md
  • PERFORMANCE.md
  • README.md
  • SPEC.md
  • __init__.py
  • activeinference_jl/AGENTS.md
  • activeinference_jl/README.md
  • activeinference_jl/SPEC.md
  • activeinference_jl/__init__.py
  • activeinference_jl/advanced_pomdp_analysis.jl
  • activeinference_jl/analysis_suite.jl
  • activeinference_jl/analyzer.py
  • activeinference_jl/meta_cognitive_analysis.jl
  • activeinference_jl/multi_scale_temporal_analysis.jl
  • activeinference_jl/statistical_analysis.jl
  • activeinference_jl/uncertainty_quantification.jl
  • activeinference_jl/visualization_suite.jl
  • activeinference_jl/visualization_utils.jl
  • analysis_complexity.py
  • analysis_extraction.py
  • analysis_statistics.py
  • analyzer.py
  • comparison_contract.py
  • complexity/AGENTS.md
  • complexity/README.md
  • complexity/__init__.py
  • complexity/benchmark.py
  • complexity/bounds.py
  • complexity/estimator.py
  • cpomdp/AGENTS.md
  • cpomdp/README.md
  • cpomdp/SPEC.md
  • cpomdp/__init__.py
  • cpomdp/analyzer.py
  • discopy/AGENTS.md
  • discopy/README.md
  • discopy/SPEC.md
  • discopy/__init__.py
  • discopy/analyzer.py
  • flat_payload_analyzer.py

FAQ

Что делает скилл gnn-statistical-analysis?

GNN advanced statistical analysis and result aggregation. Use when performing statistical analysis on simulation results, cross-simulation aggregation, computing information-theoretic metrics, or creating analytical visualizations of pipeline outputs.

Как установить скилл gnn-statistical-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gnn-statistical-analysis запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить gnn-statistical-analysis с