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