Giter Club home page Giter Club logo

Comments (10)

rrrlw avatar rrrlw commented on May 17, 2024 1

Yes, this is a great suggestion. Unfortunately, this package was created to cement the methodology of future research, rather than to solve a problem noticed in a prior project. As such, we do not yet have real-world data to which we have applied the functions in this package. I will leave the issue open, and when we do apply this method to real-world data with successful results, I will add the dataset and corresponding vignette/case study to the package.

from tdastats.

kaitai avatar kaitai commented on May 17, 2024 1

Hi -- I'm working on using this with real data and could contribute an illustration if I knew how to input a distance matrix to the TDAstats calculate_homology command. I know that Ripser is happy to work with distance matrices, but I don't see how to use a distance matrix with TDAstats, and so much real-world data requires a distance matrix (financial data, health data, etc.).

Let me know how to input a distance matrix and I'll give you a nice real-world application!

from tdastats.

ShotaOchi avatar ShotaOchi commented on May 17, 2024 1

Does the following code work?

calculate_homology(mat, format = "distmat")

from tdastats.

kaitai avatar kaitai commented on May 17, 2024 1

Thanks for the reply.

calculate_homology(mat, format = "distmat")
does work as long as mat is

  • a symmetric (distance) matrix, or
  • a lower-triangular matrix with zeros elsewhere.

It does not work if mat is upper-triangular or the output of R's dist function, for what it's worth -- but dist does have a funky output format.

I'll try to submit a real-world example by next Tuesday.

from tdastats.

rrrlw avatar rrrlw commented on May 17, 2024

Great, looking forward to seeing the real-world example @kaitai. Happy that TDAstats was helpful. And thank you, @ShotaOchi, appreciate the helpful answer.

from tdastats.

kaitai avatar kaitai commented on May 17, 2024

I should have been wiser than to promise anything during the first week of the semester. I put an Rmd file on my github page and am happy to contribute it.
https://github.com/kaitai/Example-with-TDAstats

from tdastats.

rrrlw avatar rrrlw commented on May 17, 2024

No worries, all contributions are appreciated. The link you included does not seem to be working for me; does it point to a private repo?

from tdastats.

kaitai avatar kaitai commented on May 17, 2024

No, just a typo :) Try now!

from tdastats.

rrrlw avatar rrrlw commented on May 17, 2024

Looks wonderful, thank you! I will link it to the TDAstats main page soon.

from tdastats.

rrrlw avatar rrrlw commented on May 17, 2024

The link has been added to the Applications section of the README. Thank you, @kaitai!

from tdastats.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.