L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

model-ops-interpretability

model-ops-interpretability

Guides StellarGraph saved-model loading, custom Keras layers, calibration, ensembles, saliency and integrated gradients, randomness utilities, plotting, and optional Neo4j connector workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

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

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:

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

python sub-skills/model-ops-interpretability/scripts/calibration_smoke.py --help
python sub-skills/model-ops-interpretability/scripts/calibration_smoke.py
Skills enregistrées