-
Notifications
You must be signed in to change notification settings - Fork 175
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
[DOCS] Unclear documentation for VietorisRipsPersistence padding #632
Comments
Hey @raphaelreinauer , thank you for pointing this out. Let me provide clarification here before the docs are updated. For each dimension, we choose the minimum value which appears in any of the diagrams (it is set to zero if there is no finite value), see giotto-tda/gtda/homology/_utils.py Lines 44 to 48 in 8d09a39
This choice is indeed not standard, but to the best of my recollection, it was made with the composition of Transformers in mind. Several transformers in Please let me know if that is clear and/or convincing. |
Excellent reply @wreise! I agree that padding was done this way for a reason, but @raphaelreinauer has a point that we could/should document it somewhere. |
Thanks, @wreise for providing clarity on this. As @ulupo pointed out, it would be ideal if you could state the padding strategy and your reason for doing this in the docs. |
There is unclear documentation for the padding used in VietorisRipsPersistence. The documentation says that diagrams may be padded with some points on the diagonal, but it does not say what the padding values are or how they are chosen. This cannot be confusing for users trying to understand the output of the persistence algorithm.
giotto-tda/gtda/homology/_utils.py
Line 63 in 8d09a39
It would be helpful if the documentation for VietorisRipsPersistence clarified the padding strategy used or if the code were changed to use a more standard padding strategy such as padding with zeros.
The text was updated successfully, but these errors were encountered: