active-learning
Skill6 starsChanged 9 months agoMITView on GitHub
Use when designing active learning or closed-loop molecular optimization (DMTA cycles). Covers query strategies (UCB/EI/BALD/QBC), batch DPP selection, docking oracles (Vina/Gnina), BEDROC/EF metrics, and Design-Make-Test-Analyze campaign management.
In this repository27 other files it gives its agents.
- config/CLAUDE.mdCLAUDE.md
- aseSkill
- binding-kineticsSkill
- chem-brainstormSkill
- coarse-grainedSkill
- daylight-theorySkill
- deepchemSkill
- dockingSkill
- fbddSkill
- force-fieldsSkill
- free-energySkill
- generative-designSkill
- homology-modelingSkill
- lit-rescueSkill
- mdanalysisSkill
- mmpaSkill
- nextflowSkill
- openbabelSkill
- organic-mechanismsSkill
- pepflexSkill
- pharmacophoreSkill
- py3DmolSkill
- qm-dftSkill
- rdkitSkill
- synkitSkill
- torchdrugSkill
- uncertainty-qsarSkill
The file
Files
Active Learning for Drug Discovery
Purpose
Closed-loop molecular optimization: iteratively query the most informative compounds, label with assay/oracle, retrain model. Accelerates hit-to-lead and lead optimization by minimizing wet-lab experiments.
When to Use This Skill
- Building a surrogate model to replace expensive docking/assay calls
- Running a DMTA (Design-Make-Test-Analyze) loop
- Accelerating virtual screening with AL-ranked acquisition
- Combining QSAR uncertainty with experimental prioritization
Reference Files
Load specific references on demand:
| File | Content |
references/al-theory.md | Query strategies, acquisition functions, convergence, pool vs stream |
references/molecular-al.md | Molecular representations, batch AL, diversity-reweighted sampling |
references/uncertainty-integration.md | GP/conformal/ensemble signals → acquisition, calibration |
references/docking-al.md | Surrogate docking oracle, VS acceleration, Logloss/BEDROC metrics |
references/dmta-loop.md | Full DMTA cycle, stopping criteria, experiment prioritization, case studies |
Quick Routing
"I want to find actives with fewest assay calls"
→ al-theory.md (query strategy) + molecular-al.md (batch AL)
"I want to accelerate a docking campaign"
→ docking-al.md (surrogate oracle)
"I have GP/conformal uncertainty, want to plug into AL loop"
→ uncertainty-integration.md
"I'm running a real DMTA cycle with a CRO"
→ dmta-loop.md
Core Loop Pattern
# Canonical active learning loop
labeled_pool = initial_dataset # seed: 50–200 diverse cpds
unlabeled_pool = virtual_library # 10k–1M candidates
for round in range(n_rounds):
model.fit(labeled_pool.X, labeled_pool.y)
scores = acquisition_fn(model, unlabeled_pool.X) # uncertainty / EI / UCB
batch = select_batch(unlabeled_pool, scores, k=batch_size)
labels = oracle(batch) # assay / docking / human expert
labeled_pool = labeled_pool + (batch, labels)
unlabeled_pool = unlabeled_pool - batchKey Principles
- Seed diversity matters — MaxMin or clustering on initial pool prevents early bias
- Batch mode requires diversity — greedy top-k collapses; use DPP or greedy submodular
- Calibrate before querying — miscalibrated uncertainty → wrong queries (use MAPIE/isotonic)
- Track enrichment, not accuracy — AL goal is finding actives fast, not global R²
- Stopping criterion — plateau in hit rate OR budget exhausted
Integration with ALKYL Skills
- Uncertainty estimates:
uncertainty-qsarskill (GP, conformal, deep ensembles) - Diversity selection:
chem_diversity.py(MaxMin) - Docking oracle:
dockingskill (Vina/Gnina) - Library design:
generative-designskill (REINVENT + AL reward) - Property filtering:
chem_filter.py,chem_batch.py
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

