The goal is to implement TDAvec library in python using R as a source (see GitHub repository https://github.com/alexey-luchinsky/TDAvec)
- create python environment and install all packages from requirements.txt
- run
python setup.py build_ext --inplacefrom thepython/directory to compile pyx file - launch
R/TDA_vec.Rmdto get R results - run through
test_TDAvectorizer.ipynbnotebook to see python results and save figures - launch docker
- Run
source make_pdf.shfrompaperdirectory to create pdf
- python/: python files live here
TDAvec.pyx: Cython version of the package. Note that you need to recompile it after each changeTDAvectorizer.py: TDAvectorizer classtest_TDAvectorizer.ipynb: Jupyter notebook, testing TDAvectorizersetup.py: Cython make file. See TDAvec_pyx_test.ipynb for instructionsunit_tests.py: unit tests. You should runpython -m unittest unit_test.pyfrom thepython/directory to run them.
- R/: R files live here
TDA_vec.Rmd: extracting test results for different functions
- paper/: paper files live here
- reread/rewrite paper
- unit tests for TDAvectorizer
- VPB: PD -> D
- VPB, PI: more simple tests, default xSeq, ySeq
- DONE: Aug 10, 2024, 09:55: Create remote repository:
- DONE: Aug 10, 2024, 10:05: Start the JOSS paper template
- DONE: Aug 10, 2024, 16:39: Find other python libraries for vectorization
- DONE: Aug 11, 2024, 16:39: Incorporate my into ML workflow
- DONE: Aug 15, 2024, 07:38: Redo simulations:
- DONE: Aug 15, 2024, 07:38: Correct table:
- DONE: Aug 15, 2024, 08:50: Add dim0+dim1 set of predictors:
- DONE: Aug 15, 2024, 11:54: Rewrite paper:
- DONE: Aug 15, 2024, 13:00: Remove outliers:
- DONE: Aug 15, 2024, 16:53: Send to Umar:
- DONE: Aug 16, 2024, 07:56: FDA in R
- DONE: Aug 16, 2024, 11:40: FDA in Python
- DONE: Aug 16, 2024, 11:40: FDA: compare to R
- DONE: Aug 16, 2024, 11:40: add FDA tables and plots
- skit-tda: https://docs.scikit-tda.org/en/latest/libraries.html
- Giotto-TDA: https://giotto-ai.github.io/gtda-docs/0.5.1/index.html
- Geometry Understanding in Higher Dimensions: https://github.com/GUDHI, https://gudhi.inria.fr/introduction/
- Dionysus 2: https://www.mrzv.org/software/dionysus2/
The following functions were translated from R and checked against R results:
computeVPB: A Vector Summary of the Persistence BlockcomputePL: A Vector Summary of the Persistence Landscape FunctioncomputePS: A Vector Summary of the Persistence SilhouettecomputeNL: A Vector Summary of the Normalized Life CurvecomputeVAB: A Vector Summary of the Betti CurvecomputeECC: A Vector Summary of the Euler Characteristic CurvecomputePES: A Vector Summary of the Persistent Entropy Summary FunctioncomputePI: A Vector Summary of the Persistence Surface