« Back to top page

QMC Search

Sampler using Quasi Monte Carlo sampling.

Class or Function Names

  • QMCSampler

Example

import optuna
from optuna.samplers import QMCSampler


def objective(trial):
    x = trial.suggest_float("x", -5, 5)
    return x**2


sampler = QMCSampler()
study = optuna.create_study(sampler=sampler)
study.optimize(objective, n_trials=10)

Others

See the documentation for more details.

Package
samplers/qmc
Author
Optuna team
License
MIT License
Verified Optuna version
  • 3.6.1
Last update
2024-07-05