📊 Probabilistic Algorithms
Stochastic and Bayesian optimization methods.
This category contains 5 algorithms.
| Algorithm | Acronym | Year | Description |
|---|---|---|---|
| Adaptive Metropolis Algorithm | AM | 2001 | Adaptive Metropolis (AM) algorithm with covariance adaptation. |
| Bayesian Optimization | BO | 2012 | Bayesian Optimization (BO) using Gaussian Process surrogates. |
| Linear Discriminant Analysis Optimizer | LDA-OPT | 1936 | LDA-guided Optimization using Linear Discriminant Analysis. |
| Sequential Monte Carlo Optimization | SMC | 2006 | Sequential Monte Carlo (SMC) optimization with particle filtering. |
| Tree-structured Parzen Estimator | TPE | 2011 | Tree-structured Parzen Estimator (TPE) for hyperparameter optimization. |
Usage
Every optimizer shares the same interface:
python
from opt.probabilistic.adaptive_metropolis import AdaptiveMetropolisOptimizer
from opt.benchmark.functions import sphere
optimizer = AdaptiveMetropolisOptimizer(
func=sphere,
lower_bound=-5.12,
upper_bound=5.12,
dim=10,
max_iter=500,
)
best_solution, best_fitness = optimizer.search()