#8787th of 168 in ML frameworks and libraries

bayesianoptimization

Gaussian-process Bayesian optimization of black-box functions in pure Python

Stars
8.7k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
Python
Stars, last 29 weeks+174
21 Apr 2026: 8,560 stars28 Apr 2026: 8,569 stars5 May 2026: 8,573 stars12 May 2026: 8,583 stars19 May 2026: 8,587 stars26 May 2026: 8,598 stars2 Jun 2026: 8,601 stars9 Jun 2026: 8,606 stars16 Jun 2026: 8,619 stars23 Jun 2026: 8,625 stars30 Jun 2026: 8,633 stars7 Jul 2026: 8,639 stars14 Jul 2026: 8,646 stars21 Jul 2026: 8,658 stars28 Jul 2026: 8,667 stars4 Aug 2026: 8,670 stars11 Aug 2026: 8,672 stars18 Aug 2026: 8,673 stars25 Aug 2026: 8,678 stars1 Sept 2026: 8,682 stars8 Sept 2026: 8,688 stars15 Sept 2026: 8,691 stars22 Sept 2026: 8,699 stars29 Sept 2026: 8,705 stars6 Oct 2026: 8,709 stars13 Oct 2026: 8,713 stars20 Oct 2026: 8,716 stars27 Oct 2026: 8,723 stars3 Nov 2026: 8,728 stars10 Nov 2026: 8,734 stars

8,560 on 21 Apr 20268,734 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Python library that maximizes an unknown function within bounded parameters, using a Gaussian process and an acquisition strategy such as UCB or EI to choose each next point. You pass a function and a pbounds dict, then call maximize with init_points and n_iter. It suits expensive evaluations such as hyperparameter tuning, and the README cites support for constrained optimization and non-float parameters.

Who it is for: Python users tuning expensive black-box functions or hyperparameters

Strengths

  • Minimal API: a function plus parameter bounds, then maximize()
  • Pure Python, installs from PyPI or conda-forge
  • Supports inequality constraints and domain reduction via SequentialDomainTransformer
  • Works on any function returning a real number, not tied to ML

Weaknesses

  • Bounds are required for every parameter
  • Only maximizes; minimizing means negating the target
  • Non-float parameter support is described only through a citation in the README
  • README example is a toy function; no benchmarks or scaling limits given

What it needs

  • no GPU

Quick answers

Is bayesianoptimization open source?

Yes. Its code is on GitHub under the MIT license.

Does bayesianoptimization need a GPU?

No, it runs without one.

Also in ML frameworks and libraries

See all 168
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.8k stars+1,522 (+0.9%) in 30 daysApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd105.4k stars+1,043 (+1.0%) in 30 dayscustom license93 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,015 (+1.6%) in 30 daysAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+101 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+514 (+1.0%) in 30 daysMIT92 out of 100