TDAstats | R pipeline for computing persistent homology | Data Visualization library
kandi X-RAY | TDAstats Summary
kandi X-RAY | TDAstats Summary
TDAstats is an R pipeline for computing persistent homology in topological data analysis.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TDAstats
TDAstats Key Features
TDAstats Examples and Code Snippets
# load TDAstats
library("TDAstats")
# load sample datasets
data("unif2d")
data("circle2d")
# calculate persistent homology for both datasets
unif.phom <- calculate_homology(unif2d, dim = 1)
circ.phom <- calculate_homology(circle2d, dim = 1)
# install from CRAN
install.packages("TDAstats")
# install development version from GitHub
devtools::install_github("rrrlw/TDAstats")
# install development version with vignettes/tutorials
devtools::install_github("rrrlw/TDAstats", build_vignettes
Community Discussions
Trending Discussions on TDAstats
QUESTION
I'm having trouble with the performance of this code. I have to loop through 2225 columns and calculate a betti_number. I'm wondering if there is some way to speed this up. I'd like a list of betti numbers at the end so I can add it to an excel file.
...ANSWER
Answered 2021-Jan-05 at 13:16You'll have to check if the betti numbers make sense, I couldn't get your code to work 100%. For the same reason I also haven't done any benchmarks, but I expect it to give some improvement. The main issues I see with your code are a number of unnecessary steps (mainly remappings) and use of inefficient data structures (use vector, matrix and array when possible).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TDAstats
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page