jumpingrivers/datasauRus

Integrate methods?

Closed this issue · 9 comments

Would it be fun if I integrated the methods so people could generate their own datasets?

I love this idea! Happy for it to go in the same package or if the code generalises well it could go in a separate package.

I guess depending on how they've done it, easiest thing would be a reticulate call to the python package

It actually looks really simple and numpy-y, so should be simple to translate. Let me snoop through the code a bit more.

Ack, I proobably won't have time for this - got some open issues to clear :|

I can't access the code at the moment, since the URL in the paper (now behind a paywall) is down:

image

In the meantime I was able to access the paper and to download the code.

  • Write a perturb function
  • Write a function extracting coords from an image, if necessary simplifying it
  • Write a function calculating the minimal distance between a point and a group of coords
  • Write an isErrorOk function
  • Write a moveRandomPoints function
  • Write a fit function
  • Put all pieces together -- keep all states
  • Test on datasets
  • Write example code using gganimate or magick+gifski to show the process (using all intermediary states)

Not sure this could be part of the next release.

OK, great work so far! Happy for this to be in the next milestone

Creating milestone sounds like a good idea, will do.

Hi @maelle, we can't see the related code for this issue so are going to close.