[FEA] Sample weights for Linear Regression #4031
Labels
? - Needs Triage
Need team to review and classify
feature request
New feature or request
inactive-90d
Is your feature request related to a problem? Please describe.
I have tried accelerating a top scoring Kaggle kernel using RAPIDS. It is mostly done but only sample weighted Linear Regression is missing. Without this, the kernel scores significantly worse since it is not possible to optimize for the competition metric without the sample weights.
Describe the solution you'd like
I would like LinearRegression to have sample weights while fitting.
Describe alternatives you've considered
Only possible alternative could be oversampling/undersampling data points but it is not nice.
Additional context
Here is the kernel. GPU version runs 3x faster than the original CPU implementation but scores much worse: https://www.kaggle.com/aerdem4/accelerating-trading-on-gpu-via-rapids
The text was updated successfully, but these errors were encountered: