Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires InEnroll Now
Now let's join the numerical and categorical pipelines.
Join the two pipeline and save it in a variable named
from sklearn.pipeline import FeatureUnion << your code goes here >> = FeatureUnion(transformer_list=[ ("num_pipeline", num_pipeline), ("cat_pipeline", cat_pipeline), ])
Fit the training data in this pipeline:
X_train = preprocess_pipeline.fit_transform(<< your code goes here >>)
Save the labels in
<< your code goes here >> = train_data["Survived"]
Taking you to the next exercise in seconds...
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here