Skip to content
Back to skills

Model Ops Interpretability

ASecurity

"Guides StellarGraph saved-model loading, custom Keras layers,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
datapythonbashnodegit

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill model-ops-interpretability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Ops Interpretability?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Ops Interpretability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-model-ops-interpretability/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-model-ops-interpretability)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: model-ops-interpretability
description: "Guides StellarGraph saved-model loading, custom Keras layers,
  calibration, ensembles, saliency and integrated gradients, randomness
  utilities, plotting, and optional Neo4j connector workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Model Operations and Interpretability

Use this sub-skill for operational tasks around StellarGraph models after or
around training: saved-model loading, probability calibration, ensembles,
interpretability, plotting/history, random seeds, and optional Neo4j connector
workflows.

## Read first

- [`references/operations.md`](references/operations.md) for
  `custom_keras_layers`, calibration, ensembles, history plotting, and seed
  utilities.
- [`references/interpretability.md`](references/interpretability.md) for GCN/GAT
  saliency and integrated-gradient workflows.
- [`references/neo4j.md`](references/neo4j.md) for optional Neo4j connector
  classes, service requirements, ID/features properties, and warnings.
- [`references/troubleshooting.md`](references/troubleshooting.md) for saved
  model, calibration/ensemble, saliency, TensorFlow, and Neo4j failures.
- [`scripts/calibration_smoke.py`](scripts/calibration_smoke.py) for a safe tiny
  calibration smoke.

## Route here when the user asks to

- load a Keras model containing StellarGraph custom layers;
- calibrate model outputs with `TemperatureCalibration`, `IsotonicCalibration`,
  expected calibration error, or reliability diagrams;
- build `Ensemble` or `BaggingEnsemble` wrappers;
- explain node/edge importance with GCN/GAT saliency maps or integrated
  gradients;
- check reproducibility utilities such as random seeds;
- use `Neo4jStellarGraph`, `Neo4jStellarDiGraph`, or Neo4j GraphSAGE generators.

## Route elsewhere

Core model training still belongs to the owning workflow route:

- node models: [`../node-classification-gnns/SKILL.md`](../node-classification-gnns/SKILL.md);
- link prediction/KG: [`../link-prediction-kg/SKILL.md`](../link-prediction-kg/SKILL.md);
- embeddings: [`../embedding-workflows/SKILL.md`](../embedding-workflows/SKILL.md);
- graph/time-series: [`../graph-time-series-workflows/SKILL.md`](../graph-time-series-workflows/SKILL.md).

## Operating workflow

1. Identify the operational surface: saved model, probability outputs,
   uncertainty/ensemble, saliency, or Neo4j-backed graph access.
2. Verify package/TensorFlow import with the root diagnostic if the environment
   is suspect.
3. For saved models, pass `stellargraph.custom_keras_layers` as Keras
   `custom_objects`.
4. For calibration, use logits or probabilities with the shapes required by the
   calibration class; validate with a tiny smoke before applying to model
   outputs.
5. For saliency, keep generator sparse/dense settings consistent with the model
   and use node indices/classes that exist.
6. For Neo4j, confirm `py2neo`, service reachability, ID property, feature
   property, and uniqueness constraints before expecting model generators to
   work.

## Safe check

```bash
python sub-skills/model-ops-interpretability/scripts/calibration_smoke.py --help
python sub-skills/model-ops-interpretability/scripts/calibration_smoke.py
```

Files in this skill

  • SKILL.md3.2 KB
  • references/interpretability.md1.8 KB
  • references/neo4j.md1.9 KB
  • references/operations.md1.9 KB
  • references/troubleshooting.md1.6 KB
  • scripts/calibration_smoke.py905 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…