Skip to content
Back to skills

Probability Statistics

ASecurity

Bayesian Optimize

  • 32 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
datapythongobashreact

Security analysis

A100/100

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

Scanned February 10, 2026

npx -y skills add mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- --skill Probability_Statistics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Probability Statistics?

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

Security grade badge for Probability Statistics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mdbabumiamssm-probability-statistics/badge)](https://www.skillsdirectory.com/skills/mdbabumiamssm-probability-statistics)

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: 'bayesian-optimizer'
description: 'Bayesian Optimize'
---


# 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

1.  **Next Step Proposal**: Suggests the next best experiment parameters.
2.  **Surrogate Modeling**: Predicts outcomes for untested parameters.
3.  **Exploration/Exploitation**: Balances trying new things vs. refining known good results.

## Workflow

1.  **Input**: History of past experiments (params -> results) and bounds.
2.  **Process**: Fits a Gaussian Process to the data.
3.  **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**:
```bash
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
```

Files in this skill

  • README.md947 B
  • SKILL.md1.4 KB
  • TUTORIAL_SELF_DRIVING_LAB_OPTIMIZER.md2.5 KB
  • bayesian_optimization.py6.1 KB
  • stats_essentials.py1.6 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…