This is very likely a newbie question but I haven't been able to find an answer. I have created a model with sklearn which uses Ridge from linear_models. After I fit the model, I get the coefficients and the intercept to manually compute a prediction.
The problem I am having is that I'm getting a mismatch between manually multiplying each coefficient to its corresponding variable and later adding the intercept (wi*xi + c) and the result given by model.predict(X). Is this an expected behavior? How could I correctly do a manual prediction (I wish to translate these results to a spreadsheet later)
Thanks!