Can’t get the coefficients of the polynomial from sklearn Ridge
There is a polynomial of degree 11 (its some X and Y data) and the following sequence of steps: pipeline (with PolynomialFeatures and StandardScaler) and the regularisation itself – it is done at different alpha. The best estimate came out for models[4], its coefficients (models[4].coef_) are in coefs[4].
Here is what is there:
array([[[17.98583557, -5.87696835, 15.2183848 , -2.18032083, 9.92964021,
-0.10494066, 6.6073722 , 0.93833414, 4.59678556, 1.37196651,
3.33868014]])