src/ml_integration/SKILL.md
GNN machine learning integration and model training. Use when training ML models on GNN data, checking ML framework availability, or integrating GNN pipeline outputs with machine learning workflows.
npx skillsauth add activeinferenceinstitute/generalizednotationnotation gnn-ml-integrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Integrates machine learning capabilities with the GNN pipeline, enabling feature extraction from parsed models, ML model training on GNN data, and framework availability checking.
# Run ML integration
python src/14_ml_integration.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/main.py --only-steps 14 --verbose
from ml_integration import process_ml_integration, check_ml_frameworks
# Process ML integration step (used by pipeline)
result = process_ml_integration(target_dir, output_dir, verbose=True)
# Check available ML frameworks
frameworks = check_ml_frameworks()
# Returns: {'pytorch': {'available': True, 'version': '2.x'},
# 'tensorflow': {'available': False},
# 'jax': {'available': True, 'version': '0.4.x'},
# 'sklearn': {'available': True, 'version': '1.x'}}
process_ml_integration — main pipeline processing functioncheck_ml_frameworks — checks availability of PyTorch, TensorFlow, JAX, scikit-learn| Framework | Check Key | Purpose |
| ----------- | ----------- | --------- |
| PyTorch | pytorch | Deep learning, CUDA support detection |
| TensorFlow | tensorflow | Neural network training |
| JAX | jax | Differentiable computing |
| scikit-learn | sklearn | Classical ML algorithms |
# ML framework deps
uv sync --extra ml-ai
# Includes: torch, transformers, datasets
output/14_ml_integration_output/This module registers tools with the GNN MCP server (see mcp.py):
process_ml_integrationcheck_ml_frameworkslist_ml_integration_targetsdevelopment
GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model visualizations, or publishing pipeline results as a static site.
data-ai
GNN graph and matrix visualization generation. Use when creating network graph plots, matrix heatmaps, state space diagrams, or other visual representations of GNN models.
testing
GNN advanced validation and consistency checking. Use when performing deep validation of GNN models, checking cross-model consistency, verifying structural integrity, or running validation reports.
tools
GNN shared utility functions and helper modules. Use when working with common pipeline utilities, logging helpers, file I/O wrappers, path management, or pipeline template infrastructure.