Flow
sklearn.compose._column_transformer.ColumnTransformer(simpleimputer=sklearn.impute._base.SimpleImputer,onehotencoder=sklearn.preprocessing._encoders.OneHotEncoder)

sklearn.compose._column_transformer.ColumnTransformer(simpleimputer=sklearn.impute._base.SimpleImputer,onehotencoder=sklearn.preprocessing._encoders.OneHotEncoder)

Visibility: public Uploaded 30-06-2022 by Peng YU sklearn==1.2.dev0 numpy>=1.17.3 scipy>=1.3.2 joblib>=1.0.0 threadpoolctl>=2.0.0 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.2.dev0
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Applies transformers to columns of an array or pandas DataFrame. This estimator allows different columns or column subsets of the input to be transformed separately and the features generated by each transformer will be concatenated to form a single feature space. This is useful for heterogeneous or columnar data, to combine several feature extraction mechanisms or transformations into a single transformer.

Parameters

n_jobsNumber of jobs to run in parallel ``None`` means 1 unless in a :obj:`joblib.parallel_backend` context ``-1`` means using all processors. See :term:`Glossary ` for more detailsdefault: null
remainderdefault: "drop"
sparse_thresholdIf the output of the different transformers contains sparse matrices, these will be stacked as a sparse matrix if the overall density is lower than this value. Use ``sparse_threshold=0`` to always return dense. When the transformed output consists of all dense data, the stacked result will be dense, and this keyword will be ignoreddefault: 0.3
transformer_weightsMultiplicative weights for features per transformer. The output of the transformer is multiplied by these weights. Keys are transformer names, values the weightsdefault: null
transformersList of (name, transformer, columns) tuples specifying the transformer objects to be applied to subsets of the datadefault: [{"oml-python:serialized_object": "component_reference", "value": {"key": "simpleimputer", "step_name": "simpleimputer", "argument_1": {"oml-python:serialized_object": "function", "value": "openml.extensions.sklearn.cont"}}}, {"oml-python:serialized_object": "component_reference", "value": {"key": "onehotencoder", "step_name": "onehotencoder", "argument_1": {"oml-python:serialized_object": "function", "value": "openml.extensions.sklearn.cat"}}}]
verboseIf True, the time elapsed while fitting each transformer will be printed as it is completeddefault: false
verbose_feature_names_outIf True, :meth:`get_feature_names_out` will prefix all feature names with the name of the transformer that generated that feature If False, :meth:`get_feature_names_out` will not prefix any feature names and will error if feature names are not unique .. versionadded:: 1.0default: true

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table