sciquence.postprocessing.ClasswiseBinarizer

class sciquence.postprocessing.ClasswiseBinarizer(thresholds)[source]

Performing binarization classwise.

It may be used for binarize independently multiple class in the tagging tasks.

Parameters:thresholds (list of float or numpy.ndarray) – Binarization thresholds for all the classes
__init__(thresholds)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

__init__(thresholds) x.__init__(…) initializes x; see help(type(x)) for signature
fit(X[, y]) Does nothing
fit_transform(X[, y]) Fit to data, then transform it.
get_params([deep]) Get parameters for this estimator.
set_params(**params) Set the parameters of this estimator.
transform(X[, y, copy]) Perform classwise binarization, i.e.