Pipeline(steps=[('preprocessing',
Pipeline(steps=[('extraction',
ColumnTransformer(transformers=[('bedroom_ratio',
FunctionTransformer(feature_names_out=<function ratio_name at 0x11d1e8720>,
func=<function column_ratio at 0x11cd0ade0>,
validate=True),
['AveBedrms',
'AveRooms']),
('passthrough',
'passthrough',
['MedInc',
'HouseAge',
'AveRooms',
'AveBedrms',
'Population',
'AveOccup']),
('drop',
'drop',
['Longitude',
'Latitude'])])),
('poly',
PolynomialFeatures(include_bias=False)),
('scale', StandardScaler())])),
('ols', LinearRegression())])In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.