I did not understand.
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler
num_pipeline=Pipeline([(‘imputer’,SimpleImputer(strategy=‘median’)),(‘attribs_adder’,CombinedAttributesAdder()),(‘std_scaler’,StanderdScaler())])
NameError Traceback (most recent call last)
in
1 from sklearn.pipeline import Pipeline
2 from sklearn.preprocessing import StandardScaler
----> 3 num_pipeline=Pipeline([(‘imputer’,SimpleImputer(strategy=‘median’)),(‘attribs_adder’,CombinedAttributesAdder()),(‘std_scaler’,StanderdScaler())])
NameError: name ‘CombinedAttributesAdder’ is not defined
How can i fix it??
Please reply.