Open wzzlcss opened 5 years ago
Just a quick scan but this all looks reasonable. If we can add some tests and it passes, this should be an easy merge.
Hi mentor, I am finishing poisson and am going to finish this one right away.
@wzzlcss, is there anything else you wanted to do on this PR or should I go ahead and merge it?
Hi mentors, this PR implements observation weights. The changes I am making are multiplying sample weights to gradient, loss and changing to weighted mean in null model, as well as add weight when computing maximum column norm for step size and largest lambda. It seems that glmnet's largest lambda is different.