Was this causing an exception previously? If so we need a new test for that case. Also the docstring should be update to inform the user that calling this method will materialize the zeros of any sparse matrix passed as an input. Wouldn't it be possible to write a version of the scoring algorithm that would work with CSR or CSC representation instead?