Comments (4)
Hello,
if I understand correctly, you want to build an alpha-complex, in a periodic space, using as weights (as in a regular triangulation) the DTM at each vertex? You are going to need to code some pieces yourself to get the complete pipeline.
- computing the DTM: essentially, for each point, you need to find the distances to the k nearest neighbors (in the periodic metric). I would first try it brute-force (compute the distances to all the other points, then
std::nth_element
), and if that's too slow, I would look into usingCGAL::Kd_tree
with a custom query item (and possibly custom traits). - compute the alpha-complex. If your data is in 3d, you can use Gudhi's Alpha_complex_3d (C++). In 2d, I think you can use CGAL, but extracting the filtration from Alpha_shape_2 is non-trivial. In other dimensions, you are out of luck.
from gudhi-devel.
Thanks for your guide!
It seems like I should construct periodic alpha complex first and then compute DTM value for each vertex and filtration value for each edge and add vertices and edges with corresponding filtration value to simplex tree?
from gudhi-devel.
Ah, it looks like you are going for what Raphaël Tinarrage calls alpha-DTM-filtration? Then note that you don't need an alpha-complex, just a Delaunay triangulation (i.e. you don't need filtration values if you are going to replace them with your own), though that doesn't change much in terms of code. Yes, what you suggest should work.
from gudhi-devel.
I understand. Thanks!
from gudhi-devel.
Related Issues (20)
- Re-generate doxygen headers HOT 1
- [Cover Complex] Make KeplerMapper a Python function HOT 1
- [ToMATo] relate PD points to clusters HOT 1
- [Python wheels] Python 3.12 HOT 3
- Explain requirements
- multiple instantiations of Simplex_tree hidden in SimplexTree HOT 3
- `master` default branch should be renamed `main`
- sklearn set_output
- Show progress in transformers
- Use the new Simplex_tree.clear function HOT 2
- BettiCurve.fit_transform missing y=None param
- BettiCurve: `not X` is not a safe way to test for emptiness
- Identifying the simplicies involved in forming a feature in persistence diagram HOT 2
- Unsafe Cech with Epick_d?
- Atol : tests are failing with scikit-learn 1.4.0 HOT 4
- Representations - kernel_methods : Undefined name `metric` HOT 2
- I failed to change the boost library version HOT 1
- Can I calculate the L_p norm of the persistence landscape using the python interface of the GUDHI library? HOT 1
- Perslay tests are failing with tensorflow ~~2.15.1~~ 2.16 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gudhi-devel.