you should have an alpha_ridge param and use LinearRegression if 0 else use Ridge