Pipeline(steps=[('preprocessing',
Pipeline(steps=[('extraction',
ColumnTransformer(transformers=[('bedroom_ratio',
FunctionTransformer(feature_names_out=<function ratio_name at 0x00000223AFCBCE00>,
func=<function column_ratio at 0x00000223AFC97F60>,
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.