hops.experiment_impl.util package¶
Submodules¶
hops.experiment_impl.util.experiment_utils module¶
Utility functions for experiments
-
hops.experiment_impl.util.experiment_utils.get_model_registry_id(project_name)¶
-
hops.experiment_impl.util.experiment_utils.log(log_entry)¶ Logs a string to the log file Args:
- log_entry
string to log
-
hops.experiment_impl.util.experiment_utils.grid_params(dict)¶ Generate all possible combinations (cartesian product) of the hyperparameter values
- Args:
- dict
- Returns:
A new dictionary with a grid of all the possible hyperparameter combinations
-
hops.experiment_impl.util.experiment_utils.json_default_numpy(obj)¶
-
hops.experiment_impl.util.experiment_utils.dumps(data)¶
-
hops.experiment_impl.util.experiment_utils.build_parameters(map_fun, executor_num, args_dict)¶