CLI Tools¶
extratools-remap for dicttools.remap¶
For remapping elements.
-
Reads from standard in, and writes to standard out.
-
Filename for the mapping dictionary needs to be specified. Loads and dumps as a CSV file.
Usage:
extratools-remap <mapping>
extratools-flatten for jsontools.flatten¶
For flatten/unflatten a JSON object.
-
Reads from standard in, and writes to standard out.
-
--forcecan be specified to force flatten any array.
Usage:
extratools-flatten [--force]
extratools-teststats for stattools.teststats¶
For evaluating binary classification results.
-
Reads two files for truths and predictions, respectively. Each row is a label denoting true or false.
-
Writes all the statistics to standard out in JSON.
Usage:
extratools-teststats <truth> <prediction>