apsis.utilities package

Submodules

apsis.utilities.benchmark_functions module

apsis.utilities.file_utils module

apsis.utilities.file_utils.ensure_directory_exists(directory)

Creates the given directory if not existed.

Parameters:

directory : String

The name of the directory that shall be created if not exists.

apsis.utilities.json_utils module

apsis.utilities.optimizer_utils module

apsis.utilities.plot_utils module

apsis.utilities.randomization module

apsis.utilities.randomization.check_random_state(seed)

Adapted from sklearn. Turn seed into a np.random.RandomState instance

If seed is None, return the RandomState singleton used by np.random. If seed is an int, return a new RandomState instance seeded with seed. If seed is already a RandomState instance, return it. Otherwise raise ValueError.

Module contents