Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove appx DBSCAN impl and replace with type aliases #298

Merged
merged 3 commits into from
Mar 28, 2023

Conversation

YuhanLiin
Copy link
Collaborator

Addresses #295

Approx DBSCAN was slower than normal DBSCAN and also brings in partitions, which is an unmaintained crate that will not compile in a future version. Since there's not easy replacement for partitions, I decided to temporarily remove the Approx DBSCAN implementation and replace the public API with equivalent type aliases. The files for Approx DBSCAN have been kept behind in case we want to restore the implementation.

@codecov-commenter
Copy link

codecov-commenter commented Mar 14, 2023

Codecov Report

Patch coverage has no change and project coverage change: -1.68 ⚠️

Comparison is base (c773a82) 38.81% compared to head (b36cc18) 37.14%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #298      +/-   ##
==========================================
- Coverage   38.81%   37.14%   -1.68%     
==========================================
  Files          94       94              
  Lines        6219     6200      -19     
==========================================
- Hits         2414     2303     -111     
- Misses       3805     3897      +92     

see 11 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@YuhanLiin
Copy link
Collaborator Author

@quietlychris Is this fine with you?

Copy link
Member

@quietlychris quietlychris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just took a look (apologies for the delay!); this all seems good to me, and I think that leaving things as a placeholder is fine.

I also looked at the partitions crate; it definitely does seem abandoned, and as far as I can tell, the maintainer (Daniel Otten) does not have any active online presence. It seems we'd probably need to fork and update partitions in the future if we wanted to use it again; I'd need to look into the standard convention in the Rust community for handling something like that, but it is an option if you'd like to go that route in the future.

@YuhanLiin
Copy link
Collaborator Author

Approx DBSCAN has been slower than DBSCAN for a long time. If there's no replacement for partitions then I'd be willing to axe approx DBSCAN on the next breaking release.

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