DashAI.back.converters.sklearn_wrapper.SklearnWrapper
- class SklearnWrapper(**kwargs)[source]
Abstract class to define generic rules for sklearn transformers.
Methods
__init__(**kwargs)changes_row_count()Indicates if the converter changes the number of rows in the dataset.
fit(x[, y])Fit the sklearn transformer to the data.
get_metadata()Get metadata values for the current converter.
get_output_type([column_name])Each sklearn converter must implement this method to specify its output type.
get_schema()Generates the component related Json Schema.
transform(x[, y])Transform the data using the fitted sklearn transformer.
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_DESCRIPTIONSUPERVISEDTYPE