glum
glum copied to clipboard
Comment in enet_coordinate_descent_gram
I think, the comments https://github.com/Quantco/glum/blame/main/src/glum/_cd_fast.pyx#L115_L116 need to be updated.
I guess the definition of the argument q changed during some code optimization from q = X^T y to q = X^T (y - X w) which corresponds to q= -grad = -X^T grad_per_row.