evalml.pipelines.make_pipeline¶
-
evalml.pipelines.
make_pipeline
(X, y, estimator, problem_type)[source]¶ - Given input data, target data, an estimator class and the problem type,
generates a pipeline class with a preprocessing chain which was recommended based on the inputs. The pipeline will be a subclass of the appropriate pipeline base class for the specified problem_type.
- Parameters
X (pd.DataFrame) – the input data of shape [n_samples, n_features]
y (pd.Series) – the target labels of length [n_samples]
estimator (Estimator) – estimator for pipeline
problem_type – problem type for pipeline to generate