Skip to content

📊 Probabilistic Algorithms ​

Stochastic and Bayesian optimization methods.

This category contains 5 algorithms.

AlgorithmAcronymYearDescription
Adaptive Metropolis AlgorithmAM2001Adaptive Metropolis (AM) algorithm with covariance adaptation.
Bayesian OptimizationBO2012Bayesian Optimization (BO) using Gaussian Process surrogates.
Linear Discriminant Analysis OptimizerLDA-OPT1936LDA-guided Optimization using Linear Discriminant Analysis.
Sequential Monte Carlo OptimizationSMC2006Sequential Monte Carlo (SMC) optimization with particle filtering.
Tree-structured Parzen EstimatorTPE2011Tree-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()

See Also ​

Released under the MIT License.