跳到主要内容
知仓学习社ZHICANG

bayesian-optimizer

bayesian-optimizer,来自 FreedomIntelligence/OpenClaw-Medical-Skills 的 agent 技能。

写文件无严重或高危命中FreedomIntelligence/OpenClaw-Medical-Skills

它会碰到什么

扫了多少5 个文本文件,15 KB
它会碰到什么写文件
命中总数1 处
命中统计严重 0 · 高 0 · 中 1 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

<!--

COPYRIGHT NOTICE

This file is part of the "Universal Biomedical Skills" project.

Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>

All Rights Reserved.

#

This code is proprietary and confidential.

Unauthorized copying of this file, via any medium is strictly prohibited.

#

Provenance: Authenticated by MD BABU MIA

-->


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

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。