-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor TANE-based algorithms #11
base: main
Are you sure you want to change the base?
Conversation
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.
clang-tidy made some suggestions
83dee44
to
9b3495c
Compare
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.
clang-tidy made some suggestions
c70c5bc
to
0a0ef54
Compare
0a0ef54
to
d6b8714
Compare
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.
clang-tidy made some suggestions
74d5672
to
ca769bb
Compare
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.
clang-tidy made some suggestions
98159e0
to
554d08c
Compare
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.
clang-tidy made some suggestions
13016d9
to
84cf071
Compare
0b202ac
to
5ea3e11
Compare
`clang-format-diff` errors out in case of an error, not executing the following commands in the script
The old version does not contain the typing header.
Note that calling algorithms is not thread-safe. However, this allows algorithms to call Python code from multiple threads.
5ea3e11
to
57905a7
Compare
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.
clang-tidy made some suggestions
@@ -26,7 +26,7 @@ INITIALIZE_EASYLOGGINGPP | |||
|
|||
namespace python_bindings { | |||
|
|||
PYBIND11_MODULE(desbordante, module) { | |||
PYBIND11_MODULE(desbordante, module, pybind11::mod_gil_not_used()) { |
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.
warning: invalid case style for variable 'PYBIND11_MODULE' [readability-identifier-naming]
PYBIND11_MODULE(desbordante, module, pybind11::mod_gil_not_used()) { | |
pybin_d11_module(desbordante, module, pybind11::mod_gil_not_used()) { |
646bc0f
to
400f9e8
Compare
400f9e8
to
250f0ba
Compare
Generalize Tane and PFDTane, add additional tests.
In order to check if the refactoring caused any performance loss, following experiments were performed.
The discovery task was run as
cli.py --task=afd --algo=tane --error=0.01 --table=...
with new and original versions of TANE implementation. Following heavy datasets were utilized: EpicMeds.csv, adult.csv, EpicVitals.csv.Following list demonstrates measured running time of the old and new algorithms, correspondingly (confidence intervals of 95%, with 8-11 iteration):