You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is an intercept then we also want the intercept to be multiplied by the weight, so this transformation would be invalid. The user can fix it by augmenting X with an intercept and then calling a linear model without intercept. But this might be cumbersome.
The text was updated successfully, but these errors were encountered:
I agree that this could be an issue, but it's not clear to me how we might fix it - as far as I can see there's no simple transformation of X and y that will work when fitting a model with an intercept. Do you have any suggestions?
It might be that the weighted model wrapper has a small bug in the case of linear models that fit an intercept:
If there is an intercept then we also want the intercept to be multiplied by the weight, so this transformation would be invalid. The user can fix it by augmenting X with an intercept and then calling a linear model without intercept. But this might be cumbersome.
The text was updated successfully, but these errors were encountered: