Skip to content
Back to skills

Deep And Optional Integrations

ASecurity

"Optional DeepActiveLearner, PyTorch/skorch MC-dropout, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
datadebugginggit

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deep-and-optional-integrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deep And Optional Integrations?

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

Security grade badge for Deep And Optional Integrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deep-and-optional-integrations/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deep-and-optional-integrations)

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: deep-and-optional-integrations
description: "Optional DeepActiveLearner, PyTorch/skorch MC-dropout, and
  Keras/TensorFlow integration guidance for modAL."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Deep and Optional Integrations

Use this sub-skill only when a modAL task explicitly involves optional deep-learning integrations: `DeepActiveLearner`, skorch-wrapped PyTorch estimators, Monte Carlo dropout query strategies from `modAL.dropout`, or legacy Keras/TensorFlow examples. These workflows are not part of the minimum classical scikit-learn active-learning path.

## Read and run map

- Read [references/deep-integrations.md](references/deep-integrations.md) when building or debugging `DeepActiveLearner`, skorch/PyTorch estimators, `warm_start` teaching, `num_epochs`/`batch_size`, or optional Keras/TensorFlow active-learning wrappers.
- Read [references/mc-dropout-reference.md](references/mc-dropout-reference.md) when using `mc_dropout_bald`, `mc_dropout_mean_st`, `mc_dropout_max_entropy`, `mc_dropout_max_variationRatios`, `get_predictions`, `set_dropout_mode`, dropout layer indexes, tensor/dict pools, or MC-dropout memory knobs.
- Read [references/troubleshooting.md](references/troubleshooting.md) when imports fail, skorch initialization or `partial_fit` behavior is unclear, NumPy arrays are passed to MC dropout, a dropout layer index raises `KeyError`, or a user expects CUDA/Keras behavior that was not selected.
- Run [scripts/dropout_inspection.py](scripts/dropout_inspection.py) to perform a deterministic CPU-only import and dropout-layer-index inspection against the installed package. Use `--help` first; the script does not train, download data, require credentials, or write files.

## Boundaries

- For ordinary `ActiveLearner`, `Committee`, `CommitteeRegressor`, bootstrapping, `only_new=True` with classical or Keras-like estimators, and learner setup not involving deep wrappers, use [../learners-and-committees/SKILL.md](../learners-and-committees/SKILL.md).
- For ordinary uncertainty, disagreement, ranked-batch, density, expected-error, multilabel, or custom query strategies that do not require MC dropout, use [../query-strategies/SKILL.md](../query-strategies/SKILL.md).
- Do not claim that Keras/TensorFlow, torchvision datasets, or CUDA are available unless the user's runtime has separately installed and smoke-tested them.

## Fast routing cues

| User signal | Next file |
|---|---|
| “DeepActiveLearner calls initialize”, “skorch NeuralNetClassifier”, “warm_start”, “partial_fit” | [references/deep-integrations.md](references/deep-integrations.md) |
| “MC dropout BALD/entropy/variation ratios”, “dropout_layer_indexes”, “logits_adaptor” | [references/mc-dropout-reference.md](references/mc-dropout-reference.md) |
| “RuntimeError only dict or tensors supported”, “bad dropout layer index”, “missing torch/skorch/Keras” | [references/troubleshooting.md](references/troubleshooting.md) |
| “Which dropout layer indexes are valid?” | [scripts/dropout_inspection.py](scripts/dropout_inspection.py) |

Files in this skill

  • SKILL.md3.1 KB
  • references/deep-integrations.md7.2 KB
  • references/mc-dropout-reference.md6.2 KB
  • references/troubleshooting.md4.9 KB
  • scripts/dropout_inspection.py5.5 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.