DashAI.back.converters.LabelBinarizer
- class LabelBinarizer(**kwargs)[source]
Scikit-learn’s LabelBinarizer wrapper for DashAI.
- __init__(**kwargs)
Methods
__init__(**kwargs)changes_row_count()Indicates if the converter changes the number of rows in the dataset.
fit(x[, y])Generic fit method for sklearn transformers
fit_transform(y)Fit label binarizer/transform multi-class labels to binary labels.
get_metadata()Get metadata values for the current converter.
get_metadata_routing()Get metadata routing of this object.
get_params([deep])Get parameters for this estimator.
get_schema()Generates the component related Json Schema.
inverse_transform(Y[, threshold])Transform binary labels back to multi-class labels.
set_fit_request(*[, x])Configure whether metadata should be requested to be passed to the
fitmethod.set_inverse_transform_request(*[, threshold])Configure whether metadata should be requested to be passed to the
inverse_transformmethod.set_output(*[, transform])Set output container.
set_params(**params)Set the parameters of this estimator.
set_transform_request(*[, x])Configure whether metadata should be requested to be passed to the
transformmethod.transform(x[, y])Generic transform method for sklearn transformers
validate_and_transform(raw_data)It takes the data given by the user to initialize the model and returns it with all the objects that the model needs to work.
Attributes
CATEGORYCOLORDESCRIPTIONDISPLAY_NAMEIMAGE_PREVIEWSHORT_DESCRIPTIONSUPERVISEDTYPEmetadata