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_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])

Request metadata passed to the fit method.

set_inverse_transform_request(*[, threshold])

Request metadata passed to the inverse_transform method.

set_output(*[, transform])

Set output container.

set_params(**params)

Set the parameters of this estimator.

set_transform_request(*[, x])

Request metadata passed to the transform method.

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

DESCRIPTION

TYPE