Quiz: Tips and Tricks

Check your understanding of pipelines, baselines, feature importance, and model persistence.

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()
])
Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.