I'm having some trouble getting my data into ELKI properly to run through the Optics algorithm, but using the R implementation of Optics, I can easily get the list of reachability distances. I can write them to a file like this. (index, distance)
1 Inf
2 0.5
3 0.9 ...
I want to find clusters that are separated by local minimums. I think that the Optics Xi algorithm from the ELKI software does this, but since I'm having trouble importing my data, I can't use it.
Would it be easier to just write the Optics cluster extracting algorithm in another language using the pseudo-code from the Optics paper? I think at its most basic, it is just clustering indices together when they're next to each other, and there is no decrease to a new local minimum.
Thanks