by-campaign-optimizer

Generates next-round YAML configs from scored protein designs using Random Forest regression.

104|10|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/001TMF/blatant-why --skill by-campaign-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: by-campaign-optimizer
Source: https://github.com/001TMF/blatant-why/tree/main/templates/.claude/skills/by-campaign-optimizer
Command: npx skills add https://github.com/001TMF/blatant-why --skill by-campaign-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, scikit-learn, pyyaml, and includes scripts (resource) components.

What problem does it solve?

Automates the generation of data-driven next-round campaign parameters for multi-round design campaigns by learning from scored designs.

Core Features & Use Cases

  • Active-learning optimization: trains a Random Forest on existing scores to derive thresholds and design counts.
  • Exploration guidance: outputs regions in feature space where sampling is most informative.
  • Config automation: emits a ready-to-use next-round YAML config and an audit trail in optimizer metadata.

Quick Start

Run the optimizer on your scored designs to produce a next-round YAML config with recommended thresholds and design counts.

Frequently Asked Questions about by-campaign-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize multi-round protein design campaign parameters using active learning?

Multi-round protein design campaign parameters are optimized by training a RandomForestRegressor on existing scored designs to calculate feature importances and propose data-driven thresholds, design counts, and exploration regions for metrics like ipsae, iptm, plddt, and rmsd.

What is the minimum number of scored designs needed to optimize next-round campaign thresholds?

Next-round campaign threshold optimization requires at least 10 scored designs to function. Once this minimum is met, the optimizer evaluates metrics like cdr3_length and liabilities to output a ready-to-use YAML config with recommended parameters.

How do I generate a next-round YAML config from scored protein design data?

To generate a next-round YAML config from scored protein design data, run the optimizer on your existing metrics like plddt and rmsd. It processes the scores and emits an automated config alongside an audit trail in the optimizer metadata.

Can I use scikit-learn and random forest models to recommend exploration regions for protein design?

Yes, scikit-learn and random forest models are used to recommend exploration regions for protein design. A RandomForestRegressor with fixed hyperparameters computes feature importances to identify the most informative feature space regions for sampling.

What limitations exist when using fixed hyperparameters for multi-round campaign optimization?

Multi-round campaign optimization uses fixed hyperparameters for its RandomForestRegressor, meaning there is no automated hyperparameter tuning. This provides stable feature importance calculations but may limit optimization performance on highly complex or noisy datasets.

Does the by-campaign-optimizer support metrics like liabilities and cdr3_length for threshold guidance?

Yes, by-campaign-optimizer supports metrics like liabilities and cdr3_length for threshold guidance. It processes these alongside ipsae, iptm, plddt, and rmsd to provide data-driven recommendations for your next-round design parameters.