Agent skill
probability-statistics
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/probability-statistics
SKILL.md
---name: bayesian-optimizer description: Bayesian Optimize license: MIT metadata: author: AI Group version: "1.0.0" compatibility:
- system: Python 3.10+ allowed-tools:
- run_shell_command
- read_file
keywords:
- probability-statistics
- automation
- biomedical measurable_outcome: Converge to within 5% of the optimal parameter set within 10 iterations. ---"
Bayesian Optimization (Self-Driving Lab)
The Bayesian Optimizer allows agents to efficiently explore a parameter space to maximize a target metric (yield, purity, binding affinity) with minimal experiments. It uses Gaussian Processes to model uncertainty and the Upper Confidence Bound (UCB) acquisition function.
When to Use This Skill
- When experiments are expensive or time-consuming.
- To autonomously tune hyperparameters for a machine learning model.
- To optimize reaction conditions (temperature, pH, concentration).
Core Capabilities
- Next Step Proposal: Suggests the next best experiment parameters.
- Surrogate Modeling: Predicts outcomes for untested parameters.
- Exploration/Exploitation: Balances trying new things vs. refining known good results.
Workflow
- Input: History of past experiments (params -> results) and bounds.
- Process: Fits a Gaussian Process to the data.
- Output: Returns the parameters for the next experiment.
Example Usage
User: "Given these past results, what temperature and pH should I try next?"
Agent Action:
python3 Skills/Mathematics/Probability_Statistics/bayesian_optimization.py \
--history "[[20, 7.0, 0.5], [25, 6.5, 0.6]]" \
--bounds "[[10, 40], [5, 9]]" \
--output next_experiment.json
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?