gblearn.utility

Functions

chdir(*args, **kwds) Provides a context for performing operations in a new directory.
colorspace(size) Returns an cycler over a linear color space with ‘size’ entries.

API Documentation

gblearn.utility.chdir(*args, **kwds)[source]

Provides a context for performing operations in a new directory. When the operation completes, the working directory is restored.

gblearn.utility.colorspace(size)[source]

Returns an cycler over a linear color space with ‘size’ entries.

Parameters:size (int) – the number of colors to define in the space.
Returns:iterable cycler with ‘size’ colors.
Return type:itertools.cycle
gblearn.utility.reporoot = ‘/Users/trunks/codes/gblearn-dist’

The absolute path to the repo root on the local machine.