← LeaderboardThe Skill Leaderboard

bayesian-optimizer

Skill file skills/bayesian-optimizer/SKILL.md in FreedomIntelligence/OpenClaw-Medical-Skills. Read the publisher’s upstream source.

Description awaits a fresh source check.

Published by FreedomIntelligence ↗FreedomIntelligence/OpenClaw-Medical-Skills

Try your first task

bayesian-optimizer

Start a fresh conversation. Replace the highlighted placeholders.

Use bayesian-optimizer to Create a conceptual analysis plan to propose the next best experiment parameters for [target_metric] given a history of past results and defined bounds. Require human confirmation before any tool invocation. Keep this to a sanitized or synthetic research intake/readiness plan grounded in the cited historical source version. Check current documentation, permissions and prerequisites before any later execution, and wait for my explicit confirmation before any external action, live data access, tool execution, installation, file changes or deployment. Do not diagnose, recommend treatment, generate biological sequences or provide experimental protocols.

Required inputs

  • [target_metric]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md


name: 'bayesian-optimizer' description: 'Bayesian Optimize' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:

  • read_file
  • run_shell_command

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:

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