Struct tpe::TpeOptimizerBuilder[][src]

pub struct TpeOptimizerBuilder { /* fields omitted */ }
Expand description

Builder of TpeOptimizer.

Implementations

Makes a new TpeOptimizerBuilder instance with the default settings.

Sets the percentage at which the good and bad observations are split.

The default values is 0.1.

Sets the number of candidates to be sampled to decide the next parameter.

The default value is 24.

Builds a TpeOptimizer with the given settings.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.