gnn-statistical-analysis
GNN advanced statistical analysis and result aggregation. Use when performing statistical analysis on simulation results, cross-simulation aggregation…
от 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 functionperform_statistical_analysis— core statistical analysiscalculate_complexity_metrics,calculate_maintainability_index,calculate_technical_debtanalyze_framework_outputs,generate_framework_comparison_reportcompute_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_metricsevaluate_torchlens_fidelityget_analysis_resultslist_analysis_toolsprocess_analysis
References
Documentation
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…