Documentation ¶
Overview ¶
This package provides a solver base on Goptuna.
Please see https://github.com/c-bata/goptuna for Goptuna.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoptunaSolver ¶
type GoptunaSolver struct {
// contains filtered or unexported fields
}
GoptunaSolver is a Solver implementation based on Goptuna.
func (*GoptunaSolver) Ask ¶
func (r *GoptunaSolver) Ask(idg *kurobako.TrialIDGenerator) (kurobako.NextTrial, error)
func (*GoptunaSolver) Tell ¶
func (r *GoptunaSolver) Tell(trial kurobako.EvaluatedTrial) error
type GoptunaSolverFactory ¶
type GoptunaSolverFactory struct {
// contains filtered or unexported fields
}
GoptunaSolverFactory is a SolverFactory for Goptuna.
func NewGoptunaSolverFactory ¶
func NewGoptunaSolverFactory(name string, createStudy func(int64) (*goptuna.Study, error)) GoptunaSolverFactory
NewGoptunaSolverFactory creates a new GoptunaSolverFactory instance.
The createStudy argument is a function that takes a random seed and returns a study object that is used to solve black-box optimization problems.
func (*GoptunaSolverFactory) CreateSolver ¶
func (r *GoptunaSolverFactory) CreateSolver(seed int64, problem kurobako.ProblemSpec) (kurobako.Solver, error)
func (*GoptunaSolverFactory) Specification ¶
func (r *GoptunaSolverFactory) Specification() (*kurobako.SolverSpec, error)
Click to show internal directories.
Click to hide internal directories.