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

[demo] Optimize Sparse NCC #77

Merged
merged 5 commits into from
Feb 10, 2020
Merged

[demo] Optimize Sparse NCC #77

merged 5 commits into from
Feb 10, 2020

Conversation

juharris
Copy link
Member

@juharris juharris commented Feb 10, 2020

Optimize SparseNearestCentroidClassifier's predict function by storing the centroid's magnitude squared to use as a base for computing the distance from a query point to each centroid.

@juharris juharris added enhancement New feature or request demo Relates to the code to demonstrate the framework labels Feb 10, 2020
@juharris juharris merged commit 4ff3064 into master Feb 10, 2020
@juharris juharris deleted the simulation-opt-sparse-ncc branch February 10, 2020 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo Relates to the code to demonstrate the framework enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant