build_polynomial_model
build_polynomial_model(degree)Builds the unfitted polynomial mean model used throughout.
The pipeline is polynomial features, then standardisation, then Ridge regression with alpha=0.1.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| degree | int | Polynomial degree. | required |
Returns
| Name | Type | Description |
|---|---|---|
| sklearn.pipeline.Pipeline: The unfitted pipeline. |