executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
prediction-and-explanationRun Nitrain prediction workflows and inspect the current OcclusionExplainer surface.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a user wants to run dataset-level prediction with
Predictor, reconstruct slice-based outputs back into ANTs images, or inspect
what OcclusionExplainer does in the current release.
Predictor and its sampler-driven inference path.OcclusionExplainer API surface and its limitations.sub-skills/datasets-readers/.sub-skills/preprocessing-and-loading/.sub-skills/models-training/.After installing dependencies, run the bundled helper scripts/check_install.py:
python scripts/check_install.py --mode predictor
Use this when you want to confirm the prediction path before you hand off to a larger workflow.
Predictor(model, task, sampler=None, expand_dims=-1) stores the model, task,
sampler, and expansion axis.Predictor.predict(dataset) loops over dataset records, applies the sampler,
runs the model, and then normalizes the outputs by task.expand_dims=None disables extra dimension expansion.SliceSampler output is rolled back into the original axis position during
prediction when the sampler type is recognized.uint8 in the current
implementation.expand_dims setting is
usually the first thing to inspect.OcclusionExplainer.fit() is a placeholder in this snapshot and currently
returns 1.If the request grows into actual saliency, heatmap, or attribution logic, note that the current explainer surface is incomplete and do not promise more than what the source code provides.