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
learning-deeplearnUse ANTsPy statistical learning and deep-learning helper utilities for decompositions, patches, augmentation, one-hot labels, and bounded array/image preparation without training neural networks.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task asks for ANTsPy helper utilities around statistical learning, sparse decomposition, eigenanatomy initialization, patch extraction/reconstruction, random augmentation, one-hot segmentation arrays, simulated bias fields, histogram intensity warping, regression intensity matching, or crop/pad sizing for learning pipelines.
import ants; the package distribution is antspyx.antspyx installed.ants.deeplearn helpers are data-preparation utilities: they produce images, arrays, transforms, and labels that can feed external ML code; they do not define, compile, fit, or evaluate neural-network models.input_image_list for augmentation is a list of subject lists, where each inner list holds co-registered modalities for one subject: [[subject0_mod0, subject0_mod1], [subject1_mod0, subject1_mod1]].(n_patches, *patch_size) for scalar images and (n_patches, *patch_size, components) for component images.(*image_shape, n_labels)) and channel-first only when channel_first_ordering=True ((n_labels, *image_shape)).ants.sparse_decom2 expects two matrices with the same row count; it does not scale matrices internally, so center/scale decisions belong to the caller.ANTsImage metadata: image-core.ants.deeplearn is historical and helper-oriented. Do not promise model-training support from ANTsPy itself.crop_image_from_center_point exists in source helper code but was not exported as a public ants function in the verified antspyx 0.6.3 inspection; prefer exported crop/pad helpers unless runtime introspection proves availability.data_augmentation and randomly_transform_image_data internally use transform and preprocessing functions. Use this sub-skill for their learning-helper contract; use registration or image-ops sub-skills to debug low-level transform/preprocessing behavior.