-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data association with Global Nearest Neighbor Filter not working as expected #824
Comments
Thanks for the report @arickGrootveld. So the issue we've identified is when there is no missed distance set in the If you use the In the interim, adding a large missed distance in the We are thinking a possible fix, would be where the missed distances are all |
Thank you so much for getting back to me about this @sdhiscocks. I just verified that setting the "missed_distance" parameter in the initialization of the "DistanceHypothesiser" with a large value (I used 100 as you recommended) fixes the issue entirely. Would you or your group be interested in having an external pull request for this? It might take me a bit to familiarize myself with your code base, but I could at least give it a shot. Thanks again for helping me with this, and let me know if you guys would be ok with me taking a shot at fixing it. |
Yes, that would be great. Thanks. |
I've found that using a global nearest neighbor filter as a data associator in my own code creates an unexpected effect.
Basically, the Global Nearest Neighbor associates the measurement to the first track, rather than the track with the smallest distance.
In reality, this might just be user error, but I wanted to make an issue demonstrating what I'm seeing so that I can be sure this is not a problem with Stone Soup.
See the attached files and script as a demonstration of what I mean (you may have to change the path in the script, so that it points at the pickle files correctly, depending on where you put them).
issueDemonstrationFiles.zip
The text was updated successfully, but these errors were encountered: