hyperparameter_hunter.callbacks package

Submodules

hyperparameter_hunter.callbacks.aggregators module

class hyperparameter_hunter.callbacks.aggregators.AggregatorTimes

Bases: hyperparameter_hunter.callbacks.bases.BaseAggregatorCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

stat_aggregates: dict
on_exp_start()

Perform tasks when an Experiment is started

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_exp_end()

Perform tasks when an Experiment ends

class hyperparameter_hunter.callbacks.aggregators.AggregatorEvaluations

Bases: hyperparameter_hunter.callbacks.bases.BaseAggregatorCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

stat_aggregates: dict
last_evaluation_results: dict
on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_exp_end()

Perform tasks when an Experiment ends

class hyperparameter_hunter.callbacks.aggregators.AggregatorOOF

Bases: hyperparameter_hunter.callbacks.bases.BaseAggregatorCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

class hyperparameter_hunter.callbacks.aggregators.AggregatorHoldout

Bases: hyperparameter_hunter.callbacks.bases.BaseAggregatorCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

class hyperparameter_hunter.callbacks.aggregators.AggregatorTest

Bases: hyperparameter_hunter.callbacks.bases.BaseAggregatorCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

class hyperparameter_hunter.callbacks.aggregators.AggregatorLosses

Bases: hyperparameter_hunter.callbacks.bases.BaseAggregatorCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

hyperparameter_hunter.callbacks.bases module

This module defines the base callback classes, from which all other callback classes in hyperparameter_hunter.callbacks are descendants. Importantly, the specific base callback classes contained herein are all descendants of hyperparameter_hunter.callbacks.bases.BaseCallback, ensuring all callbacks descend from the same base class. This module also defines hyperparameter_hunter.callbacks.bases.lambda_callback(), which can be used to define custom callbacks to be executed during Experiments when passed to hyperparameter_hunter.environment.Environment.__init__() via the experiment_callbacks argument

hyperparameter_hunter.callbacks.evaluators module

hyperparameter_hunter.callbacks.loggers module

class hyperparameter_hunter.callbacks.loggers.LoggerFitStatus

Bases: hyperparameter_hunter.callbacks.bases.BaseLoggerCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

stat_aggregates: dict
last_evaluation_results: dict
current_seed: int
float_format = '{:.5f}'
log_separator = ' | '
on_exp_start()

Perform tasks when an Experiment is started

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_exp_end()

Perform tasks when an Experiment ends

class hyperparameter_hunter.callbacks.loggers.LoggerOOF

Bases: hyperparameter_hunter.callbacks.bases.BaseLoggerCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

class hyperparameter_hunter.callbacks.loggers.LoggerHoldout

Bases: hyperparameter_hunter.callbacks.bases.BaseLoggerCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

class hyperparameter_hunter.callbacks.loggers.LoggerTest

Bases: hyperparameter_hunter.callbacks.bases.BaseLoggerCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

class hyperparameter_hunter.callbacks.loggers.LoggerEvaluation

Bases: hyperparameter_hunter.callbacks.bases.BaseLoggerCallback

Methods

on_exp_end()

Perform tasks when an Experiment ends

on_exp_start()

Perform tasks when an Experiment is started

on_fold_end()

Perform tasks on fold end in an Experiment’s cross-validation scheme

on_fold_start()

Perform tasks on fold start in an Experiment’s cross-validation scheme

on_rep_end()

Perform tasks on repetition end in an Experiment’s repeated cross-validation scheme

on_rep_start()

Perform tasks on repetition start in an Experiment’s repeated cross-validation scheme

on_run_end()

Perform tasks on run end in an Experiment’s multiple-run-averaging phase

on_run_start()

Perform tasks on run start in an Experiment’s multiple-run-averaging phase

hyperparameter_hunter.callbacks.recipes module

Module contents