Utiliies - nnlib.utils
¶
The utils package contains useful utilities for machine learning applications and general Python scripting.
Batching¶
The batching
module contains utility functions for convenient batch creation.
File System¶
The filesystem
module aims to provide additional functionality based on the Python 3 pathlib
built-in package. It also defines the custom type PathType
, a union of str
and pathlib.Path
.
Functional¶
The functional
module introduces building blocks to writing a functional dialect of Python.
IO¶
The io
module provides support for advanced IO operations.
Iterable¶
The iterable
module includes utility functions and lazy data structures for working with iterators.
Logging¶
The logging
module contains a global logger that supports verbosity level control, colored output, and advanced formatting.
Math¶
The math
module provides math utilities.
Miscellaneous¶
The misc
module contains everything that cannot be categorized into the other categories.
NER¶
The ner
module includes utilities for the task of Named Entity Recognition.
String¶
The string
module provides methods for name manipulation and natural logging.
Timing¶
The timing
module contains utility functions for timing code performance.
The following are MATLAB-style timing functions.
Values¶
The values
module provides utilities to conveniently wrap, accumulate, or record values.
The following are accumulator objects.
The following are Average
-based record keepers.
Black Magic¶
The sub-package black_magic
contains stuff that’s not intended to be used in everyday-Python, unless you know how it works.