Flow
sklearn.pipeline.Pipeline(Preprocessing=sklearn.compose._column_transformer.ColumnTransformer(categorical=sklearn.pipeline.Pipeline(onehotencoder=sklearn.preprocessing._encoders.OneHotEncoder,simpleimputer=sklearn.impute._base.SimpleImputer),numeric=sklearn.pipeline.Pipeline(variancethreshold=sklearn.feature_selection._variance_threshold.VarianceThreshold,standardscaler=sklearn.preprocessing._data.StandardScaler,knnimputer=sklearn.impute._knn.KNNImputer)),BayesinClassifier=sklearn.svm._classes.SVC)

sklearn.pipeline.Pipeline(Preprocessing=sklearn.compose._column_transformer.ColumnTransformer(categorical=sklearn.pipeline.Pipeline(onehotencoder=sklearn.preprocessing._encoders.OneHotEncoder,simpleimputer=sklearn.impute._base.SimpleImputer),numeric=sklearn.pipeline.Pipeline(variancethreshold=sklearn.feature_selection._variance_threshold.VarianceThreshold,standardscaler=sklearn.preprocessing._data.StandardScaler,knnimputer=sklearn.impute._knn.KNNImputer)),BayesinClassifier=sklearn.svm._classes.SVC)

Visibility: public Uploaded 01-07-2023 by Luís Miguel Matos sklearn==1.3.0 numpy>=1.17.3 scipy>=1.5.0 joblib>=1.1.1 threadpoolctl>=2.0.0 1 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.3.0
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Pipeline of transforms with a final estimator. Sequentially apply a list of transforms and a final estimator. Intermediate steps of the pipeline must be 'transforms', that is, they must implement `fit` and `transform` methods. The final estimator only needs to implement `fit`. The transformers in the pipeline can be cached using ``memory`` argument. The purpose of the pipeline is to assemble several steps that can be cross-validated together while setting different parameters. For this, it enables setting parameters of the various steps using their names and the parameter name separated by a `'__'`, as in the example below. A step's estimator may be replaced entirely by setting the parameter with its name to another estimator, or a transformer removed by setting it to `'passthrough'` or `None`.

Parameters

memoryUsed to cache the fitted transformers of the pipeline. The last step will never be cached, even if it is a transformer. By default, no caching is performed. If a string is given, it is the path to the caching directory. Enabling caching triggers a clone of the transformers before fitting. Therefore, the transformer instance given to the pipeline cannot be inspected directly. Use the attribute ``named_steps`` or ``steps`` to inspect estimators within the pipeline. Caching the transformers is advantageous when fitting is time consumingdefault: null
stepsList of (name, transform) tuples (implementing `fit`/`transform`) that are chained in sequential order. The last transform must be an estimatordefault: [{"oml-python:serialized_object": "component_reference", "value": {"key": "Preprocessing", "step_name": "Preprocessing"}}, {"oml-python:serialized_object": "component_reference", "value": {"key": "BayesinClassifier", "step_name": "BayesinClassifier"}}]
verboseIf True, the time elapsed while fitting each step will be printed as it is completed.default: false

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table