pg.tuning.Result

Accessible via pg.tuning.Result.

class Result[source]

Bases: pg.Formattable

Interface for tuning result.

Attributes:

best_trial

Get best trial so far.

is_active

Returns whether the tuner task is active.

last_updated

Last updated time.

metadata

Returns the metadata of current sampling.

trials

Retrieve all trials.

abstract property best_trial: Trial | None[source]

Get best trial so far.

abstract property is_active: bool[source]

Returns whether the tuner task is active.

abstract property last_updated: datetime[source]

Last updated time.

abstract property metadata: Dict[str, Any][source]

Returns the metadata of current sampling.

abstract property trials: List[Trial][source]

Retrieve all trials.