Skip to content
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

AR plot - mixed up axis labels #19

Open
daniel-d-koenig opened this issue Jul 7, 2020 · 2 comments
Open

AR plot - mixed up axis labels #19

daniel-d-koenig opened this issue Jul 7, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@daniel-d-koenig
Copy link

Hi,
I think there is a little typo of the axis labels in AR plot. The following line defines the 'Robustness' and 'Accuracy' labels:
https://github.com/votchallenge/vot-toolkit-python/blob/52b5559d74a16518c5970c2f56eacc06cc0a715a/vot/analysis/ar.py#L55

In the following table I have Accuracy = 0.37 and Robustness = 0.01 for evaluation metric values, but in den plot the position of tracker in the AR plot is at around 0.4 for Robustness and 0.1 for Accuracy. I think either the labels or the evaluation results should by changed.
image
image
image

Thanks in advance.

Best regards,
Daniel

@lukacu
Copy link
Collaborator

lukacu commented Jul 14, 2020

Indeed, I think we have fixed this in dev branch, but it got stuck there because I am busy with other projects at the moment.

@lukacu lukacu added the bug Something isn't working label Jul 14, 2020
@daniel-d-koenig
Copy link
Author

I installed the current dev branch and generated the graphs, but unfortunately the data is still interchanged. Data on the x axis should be on y axis and vice versa.

Maybe in the following line the indices of data should be changed
https://github.com/votchallenge/vot-toolkit-python/blob/458003f27d2f759fd6ada6f237323a1a01e75cd4/vot/document/__init__.py#L76
to
handle = self._axes.scatter(data[1], data[0], **style.point_style())
this will lead that 'Accuracy' values are on y axis and 'Robustness' values on x axis.

Another possibility could be to change following function:
https://github.com/votchallenge/vot-toolkit-python/blob/458003f27d2f759fd6ada6f237323a1a01e75cd4/vot/analysis/ar.py#L53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants