OptunaHub / Simple Sampler

An easy sampler base class to implement custom samplers.

Package: samplers/simple
Author: Optuna team
License: MIT License
Verified Optuna version: 3.6.1

Class or Function Names

Example

class UserDefinedSampler(
    optunahub.load_module("samplers/simple").SimpleBaseSampler
):
    ...

See example.py for more details.

Others

This package provides an easy sampler base class to implement custom samplers. You can make your own sampler easily by inheriting SimpleBaseSampler and by implementing necessary methods.