I hereby claim:
- I am felixbenning on github.
- I am felix_benning (https://keybase.io/felix_benning) on keybase.
- I have a public key ASBwvWicrNgiUZZrtGGlipzrUL_Fc2GmD5yPb0D8k2cD9Qo
To claim this, I am signing this object:
using ResumableFunctions: ResumableFunctions, @yield, @resumable | |
@resumable function cluster(metric, ordered_iter, max_distance) | |
start = 1 | |
for (idx, elmt) in enumerate(ordered_iter) | |
if metric(elmt,ordered_iter[max(start,idx-1)]) > max_distance | |
@yield view(ordered_iter, start: idx-1) | |
start = idx | |
end | |
end |
I hereby claim:
To claim this, I am signing this object: