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
KNN algorithm: added runtime dispatching by K; added faster selection… #320
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
amgrigoriev
requested review from
michael-smirnov,
prutskov and
KulikovNikita
January 29, 2020 14:24
make test |
make test |
michael-smirnov
suggested changes
Jan 30, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One common comment: it is hard to understand big functions. Please decompose functions like compute()
into small pieces
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
prutskov
reviewed
Jan 30, 2020
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
ntfshard
reviewed
Jan 30, 2020
make test |
amgrigoriev
force-pushed
the
dev/knn-small-k
branch
from
February 3, 2020 10:33
2883bf8
to
9bd683c
Compare
michael-smirnov
suggested changes
Feb 5, 2020
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Show resolved
Hide resolved
michael-smirnov
suggested changes
Feb 5, 2020
ntfshard
reviewed
Feb 7, 2020
ntfshard
reviewed
Feb 7, 2020
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
ntfshard
reviewed
Feb 7, 2020
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
ntfshard
reviewed
Feb 7, 2020
amgrigoriev
force-pushed
the
dev/knn-small-k
branch
from
February 13, 2020 18:29
69ca85f
to
80d984a
Compare
make test |
3 similar comments
make test |
make test |
make test |
prutskov
reviewed
Feb 17, 2020
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi.h
Outdated
Show resolved
Hide resolved
make test |
prutskov
approved these changes
Feb 17, 2020
make test |
make test |
1 similar comment
make test |
michael-smirnov
suggested changes
Feb 25, 2020
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi.h
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
algorithms/kernel/k_nearest_neighbors/oneapi/bf_knn_classification_predict_kernel_ucapi_impl.i
Outdated
Show resolved
Hide resolved
amgrigoriev
force-pushed
the
dev/knn-small-k
branch
from
March 4, 2020 14:58
f9910b2
to
a90c086
Compare
make test |
1 similar comment
make test |
… method for 1 <= K <= 32
amgrigoriev
force-pushed
the
dev/knn-small-k
branch
from
March 5, 2020 12:11
619a974
to
e3577ac
Compare
make test |
michael-smirnov
approved these changes
Mar 5, 2020
amgrigoriev
added a commit
to amgrigoriev/daal
that referenced
this pull request
Mar 6, 2020
oneapi-src#320) * KNN algorithm: added runtime dispatching by K; added faster selection method for 1 <= K <= 32
amgrigoriev
added a commit
to amgrigoriev/daal
that referenced
this pull request
Mar 16, 2020
oneapi-src#320) * KNN algorithm: added runtime dispatching by K; added faster selection method for 1 <= K <= 32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… method for 1 <= K <= 32
Description
Main goal was to customize selection methods for different ranges of K in brute force K-Nearest-Neighbors (KNN) algorithm.
Changes proposed in this pull request:
-Run-time dispatching by K was added
-Faster selection was added for K <= 32