experimentmanager
experimentmanager ¶
Module for the experimentmanager
Classes¶
ExperimentManager ¶
Bases: object
Class for managing experiments
Manages a list of experiments
Source code in niceml/experiments/experimentmanager.py
Functions¶
__contains__ ¶
Checks if the experiment is in the manager
Source code in niceml/experiments/experimentmanager.py
add_experiment ¶
Adds an experiment to the manager
Source code in niceml/experiments/experimentmanager.py
get_best_experiments ¶
Finds the best experiments according to given metric. Parameters
metric_name: str name of the metric mode: str use 'max' for maximum and 'min' for minimum values number_of_exps number of experiments which should be included Returns
A list of Tuple[str, ExperimentData].
The str is a readable representation of the value and the
experiment id
Source code in niceml/experiments/experimentmanager.py
get_dataset ¶
get_datasets ¶
Returns a list of all datasets used in the experiments
Source code in niceml/experiments/experimentmanager.py
get_datasets_information_dict ¶
Returns a dict with information about the datasets
Source code in niceml/experiments/experimentmanager.py
get_date_information_dict ¶
Returns a dict with information about the dates
Source code in niceml/experiments/experimentmanager.py
get_empty_exps ¶
Finds all experiments which are empty
Source code in niceml/experiments/experimentmanager.py
get_epochs_information_dict ¶
Returns a dict with information about the trained epochs
Source code in niceml/experiments/experimentmanager.py
get_exp_by_id ¶
Returns the experiment with the given id
Parameters¶
exp_id: str alphanumeric str with 4 digits of the desired experiment OR 'latest' for the newest experiment
Returns¶
experiment: ExperimentData
Raises¶
KeyError If the experiment id does not exist
Source code in niceml/experiments/experimentmanager.py
get_exp_count ¶
get_exp_prefix ¶
get_experiment_type ¶
Returns the experiment type of the given experiment
get_experiment_type_information_dict ¶
Returns a dict with information about the experiment types
Source code in niceml/experiments/experimentmanager.py
get_experiment_types ¶
Returns a list of all experiment types
Source code in niceml/experiments/experimentmanager.py
get_experiments ¶
Returns a sorted list of all experiments (newest first)
get_max_trained_epochs ¶
Returns the max epochs of all trained experiments
get_metrics ¶
Returns a list of all metrics used in the experiments
Source code in niceml/experiments/experimentmanager.py
get_metrics_visu_df ¶
Returns a dataframe for the metrics visu, containing the min, max value for each metric and each experiment
Source code in niceml/experiments/experimentmanager.py
get_value_information_dict ¶
Returns a dict with information about the values
Source code in niceml/experiments/experimentmanager.py
get_visu_df ¶
Returns a dataframe for the metric and experiments
Source code in niceml/experiments/experimentmanager.py
is_exp_modified ¶
Checks if the experiment has been modified
Source code in niceml/experiments/experimentmanager.py
Functions¶
get_add_min_max ¶
Returns if min and max should be added
Source code in niceml/experiments/experimentmanager.py
local_exp_manager_factory ¶
Creates a local experiment manager