mlshell.Pipeline¶
-
class
mlshell.
Pipeline
(pipeline=None, oid=None, dataset_id=None)[source]¶ Bases:
object
Unified pipeline interface.
Implements interface to access arbitrary pipeline. Interface: is_classifier, is_regressor, dump, set_params and all underlying pipeline object methods.
-
pipeline
¶ Underlying pipeline.
- Type
sklearn
estimator
Notes
Calling unspecified methods are redirected to underlying pipeline object.
Methods
dump
(filepath, **kwargs)Dump the pipeline on disk.
fit
(*args, **kwargs)Fit pipeline.
Check if pipeline classifier.
Check if pipeline regressor.
set_params
(*args, **kwargs)Set pipeline params.
Methods
__init__
([pipeline, oid, dataset_id])- param pipeline
Pipeline to wrap.
dump
(filepath, **kwargs)Dump the pipeline on disk.
fit
(*args, **kwargs)Fit pipeline.
Check if pipeline classifier.
Check if pipeline regressor.
set_params
(*args, **kwargs)Set pipeline params.
-