sleap icon indicating copy to clipboard operation
sleap copied to clipboard

matched_instance_distances in sleap.info.metrics does not have default matching function

Open eringiglio opened this issue 1 year ago • 1 comments

What it says on the tin: I'd like to use sleap.info.metrics.matched_instance_distances in a routine I'm writing to identify low quality user-modified instances. I was delighted to find it in the documentation because I was expecting to need to write my own routine. Unfortunately, it appears to require match_lists_function to be passed to it, and I can't find this function referenced anywhere else in the repository. There's no default matching function listed. Does such a thing exist?

I want to compare predicted and user-generated instances for a specific model so that I can flag user-generated canonical instances that the model does a particularly bad job of predicting, just in case they're rough. In #1516 I have more context on that, but this would be an awesome function for building that except... that there's no clear options for this match_lists_function anywhere I can find on the github.

eringiglio avatar Sep 26 '23 21:09 eringiglio