-
Notifications
You must be signed in to change notification settings - Fork 124
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
[WIP] [standalone] Dimension reduction standalone module, and a few dimension reduction changes #998
base: dev
Are you sure you want to change the base?
Conversation
113c9f5
to
5ed2f44
Compare
5ed2f44
to
21ec12e
Compare
21ec12e
to
509d2c4
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.
thanks a lot
here's a first batch of remarks.
} | ||
} | ||
|
||
return 0; |
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.
note for later: there's still a segfault upon the program termination.
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.
I fixed this by running Py_Finalize in the destruction of dimensionReduction.
In the previous version we would not run it if Python was already initialized, I mimick this behaviour with an additional boolean member of dimensionReduction.
Note: not sure if it is normal, but valgrind says some things initialised by Python are not freed. Yet, Py_Finalized is called.
a79e229
to
c8a4647
Compare
c8a4647
to
8400b75
Compare
This PR introduces the dimension reduction standalone command-line module. It also adds some documentations for options of dimension reduction in the xml file. It finally reflects a change in a default options for tsne embedding in the base code.