« Back to top page

Simple Sampler

An easy sampler base class to implement custom samplers.

SimpleBaseSampler has been moved to optunahub.samplers. Please use optunahub.samplers.SimpleBaseSampler instead of this package.

Class or Function Names

  • SimpleBaseSampler

Example

import optunahub

class UserDefinedSampler(
    optunahub.samplers.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.

Package
samplers/simple
Author
Optuna team
License
MIT License
Verified Optuna version
  • 3.6.1
Last update
2024-11-15