UtilitiesΒΆ
array2str(array) |
Pretty formatter of a numpy array for one-line logging. |
asarrays(*args) |
Returns the input objects as one-element arrays |
broadcast(f, *args[, n_jobs]) |
Applies f to each element of the input vectors. |
batches(*args[, n_batches, batch_size]) |
Returns a generator of batches. |
dictsplit(d, keys) |
Split a dictionary in two given a set of keys. |
dict2str(d) |
Pretty formatter of a dictionary for one-line logging. |
get_logger(name) |
Utility to get a logger with a BracesAdapter |
get_class(name[, defmod]) |
Finds a class. |
get_defaults(func) |
Gets the default values of the keyword arguments a function. |
hashkey(*args, **kwargs) |
Return an hasable object out of the input parameters. |
load(path) |
Loads a Python object from a Pickle file at the given path. |
save(obj, path) |
Save a Python object into a Pickle file at the given path. |
subdict(d[, keys, nokeys]) |
Returns a subdictionary. |
typedkey(*args, **kwargs) |
Return an hasable object out of the input parameters. |
Utilities to deal with structured objects, training, parallelizing, caching.