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
When doing weighted ridge regression, the value of the regularization parameter for a particular solution is dependent on the sample weight vector due to scaling in the implementation. Scaling should either be according to the weighted average instead of just a simple multiplication, or the documentation should specify that the weight vector should sum to 1. This may affect other learners as well. As is, this is unstable in a cross validation context as the data magnitude may change between folds.
Suggest a potential alternative/fix
Specify the weight vector should sum to one, or fix the underlying behavior to avoid the dependence.
The text was updated successfully, but these errors were encountered:
Maybe there should be a discussion about some general accepted way of dealing with sample weights in different algorithms ( scaling them to sum up to 1, etc)
Describe the issue linked to the documentation
When doing weighted ridge regression, the value of the regularization parameter for a particular solution is dependent on the sample weight vector due to scaling in the implementation. Scaling should either be according to the weighted average instead of just a simple multiplication, or the documentation should specify that the weight vector should sum to 1. This may affect other learners as well. As is, this is unstable in a cross validation context as the data magnitude may change between folds.
Suggest a potential alternative/fix
Specify the weight vector should sum to one, or fix the underlying behavior to avoid the dependence.
The text was updated successfully, but these errors were encountered: