simpleml.pipelines.sklearn.external_pipeline
External pipeline support for scikit-learn pipeline
Module Contents
Classes
wrap sklearn pipeline with standardized methods |
Attributes
- class simpleml.pipelines.sklearn.external_pipeline.SklearnExternalPipeline(steps, *, memory=None, verbose=False)[source]
Bases:
sklearn.pipeline.Pipeline
,simpleml.pipelines.external_pipelines.ExternalPipelineMixin
wrap sklearn pipeline with standardized methods
- add_transformer(self, name, transformer, index=None)[source]
Setter method for new transformer step
- get_feature_names(self, feature_names)[source]
Iterate through each transformer and return list of resulting features starts with empty list by default but can pass in dataset as starting point to guide transformations
- get_params(self, params_only=False, **kwargs)[source]
Wrapper around sklearn implementation to drop non parameter returns :param params_only: boolean to filter down to actual transformer parameters