smile.hpo

package smile.hpo

Hyperparameter optimization.

Attributes

Members list

Type members

Classlikes

final implicit class HyperparametersOps(val hp: Hyperparameters) extends AnyVal

Implicit operations on Hyperparameters.

Implicit operations on Hyperparameters.

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def bayes(hp: Hyperparameters, maxTrials: Int = ..., initialTrials: Int = ..., maximize: Boolean = ..., acquisition: Acquisition = ..., exploration: Double = ..., kernel: MercerKernel[Array[Double]] = ...)(objective: Properties => Double): Result

Executes Bayesian hyperparameter optimization.

Executes Bayesian hyperparameter optimization.

Value parameters

acquisition

the acquisition function strategy.

exploration

exploration parameter (ξ for EI/PI, κ for UCB).

hp

the hyperparameter configuration space.

initialTrials

the number of initial random trials (-1 for heuristic default).

kernel

the Mercer covariance kernel for GP surrogate modeling.

maxTrials

the total number of evaluations to perform.

maximize

true to maximize the objective, false to minimize.

objective

the objective function evaluating a configuration.

Attributes

Returns

the optimization result containing best parameters, value, and trial history.

def hyperparameters: Hyperparameters

Creates a new hyperparameter search space.

Creates a new hyperparameter search space.

Attributes

Returns

the hyperparameter search space builder.

Implicits

Implicits

final implicit def HyperparametersOps(hp: Hyperparameters): HyperparametersOps

Implicit operations on Hyperparameters.

Implicit operations on Hyperparameters.

Attributes