Skip to content

[WIP] [standalone] Dimension reduction standalone module, and a few dimension reduction changes - #998

Draft
atalon-lip6 wants to merge 7 commits into
topology-tool-kit:devfrom
atalon-lip6:standalone-dimred
Draft

[WIP] [standalone] Dimension reduction standalone module, and a few dimension reduction changes#998
atalon-lip6 wants to merge 7 commits into
topology-tool-kit:devfrom
atalon-lip6:standalone-dimred

Conversation

@atalon-lip6

@atalon-lip6 atalon-lip6 commented Dec 7, 2023

Copy link
Copy Markdown
Contributor

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.

@julien-tierny julien-tierny left a comment

Copy link
Copy Markdown
Collaborator

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;

Copy link
Copy Markdown
Collaborator

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.

Copy link
Copy Markdown
Contributor Author

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.

Comment thread standalone/DimensionReduction/main.cpp Outdated
@julien-tierny julien-tierny changed the title [standalone] Dimension reduction standalone module, and a few dimension reduction changes WIP [standalone] Dimension reduction standalone module, and a few dimension reduction changes Jun 27, 2024
@julien-tierny julien-tierny changed the title WIP [standalone] Dimension reduction standalone module, and a few dimension reduction changes [WIP] [standalone] Dimension reduction standalone module, and a few dimension reduction changes Jun 27, 2024
@julien-tierny julien-tierny added the WIP work in progress label Jun 27, 2024
@julien-tierny
julien-tierny marked this pull request as draft June 27, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants