Quiz: Tips and Tricks
Check your understanding of pipelines, baselines, feature importance, and model persistence.
We'll cover the following...
We'll cover the following...
Quiz: Tips and Tricks
1.
How can we build a pipeline containing a scaler, a dimensionality reduction, and a regressor?
A.
pipeline = Pipeline([
MinMaxScaler(),
PCA(),
LinearRegression()
])
B.
pipeline = Pipeline([
('scaler', MinMaxScaler()),
('pca', PCA()),
('regressor', LinearRegression())
])
C.
pipeline = Pipeline([
MinMaxScaler(),
PCA(),
LinearRegression()
])
1 / 5