Skip to content

Conversation

@torial
Copy link

@torial torial commented Mar 14, 2023

Adds a "should_preprocess" bool parameter to the fit function, making it easy to turn off the mechanisms that don't work with sparse matrices.

@shankarpandala
Copy link
Owner

Closing in favor of PR #532 which provides a more comprehensive approach to sparse matrix support.

This PR (#424) from 2023 attempted sparse matrix support with a should_preprocess parameter. PR #532 provides a more automatic detection-based approach using scipy.sparse.issparse().

While this PR had the right idea, #532 is more recent and handles the problem more elegantly by automatically detecting sparse matrices rather than requiring a manual parameter.

If #532 doesn't get merged after review, we can revisit this approach.

Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants