Installation
No additional packages are required.
Abstract
This package provides a sampler that ensembles multiple samplers. You can specify the list of samplers to be ensembled.
Class or Function Names
- EnsembledSampler
Example
import optuna
import optunahub
mod = optunahub.load_module("samplers/ensembled")
samplers = [
optuna.samplers.RandomSampler(),
optuna.samplers.TPESampler(),
optuna.samplers.CmaEsSampler(),
]
sampler = mod.EnsembledSampler(samplers)
See example.py
for more details.
- Package
- samplers/ensembled
- Author
- Kenshin Abe
- License
- MIT License
- Verified Optuna version
- 3.6.1
- Last update
- 2024-08-12