Closed jolars closed 2 years ago
Hold on, there's something wrong with the preprocessing that I'm doing. Give me a minute.
No, actually there was nothing wrong with the preprocessing. We're just failing to converge for some reason:
Seems to be related to the sparse implementation, because it works if X is made dense.
Could be related to fit_intercept? Does it happen with fit_intercept=False on sparse data ?
I thought there was an issue with the intercept implementations L296 and L366 that differ, but in fact both are correct (R is recomputed from scratch for the first version)
It works on dense data. So there is an issue with the sparse implementation somewhere. Intercept to False also fails to converge in the sparse case for now.
The updates completely differ from the first cd update between sparse and dense. Still investigating
The issue is that the preprocessing transform a csc matrix into csr!
Ah!! Thanks! That explains it, wow, good catch!
It works when we transform it back to csc.
Alright, I'll upload a fix. Thanks for the help!
Alright, I'll upload a fix. Thanks for the help!
no problem 👍
Nice catch @Klopfe !
The hybrid method fails to converge for this example: