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])Generic fit method for sklearn transformers
get_metadata()Get metadata values for the current converter.
get_schema()Generates the component related Json Schema.
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