Closed CFIALeronB closed 1 month ago
I'm just not sure of the property name "topResult". surely there's a more suitable data science terminology.
candidates?
at least topResults pluralized? or top5? to make it shorter.
The plural is good, I also like candidates. From what I understand from the discussion with Amir and Noureddine, a model could eventually send back n
results and not just 1 or 5. So I would avoid top5 to keep flexibility for the property.
We can also use topN as used in this article comparing top1 vs topN accuracy score: https://medium.com/nanonets/evaluating-models-using-the-top-n-accuracy-metrics-c0355b36f91b
topN seems good.
"Top N accuracy — Top N accuracy is when you measure how often your predicted class falls in the top N values of your softmax distribution."
Summary
Enhance the Nachet Frontend to display the top 5 classification results for each seed, based on the new
topResult
attribute being passed from the Nachet Backend. This feature aims to allow users to view alternative classifications for each detected seed, aiding in identifying misclassifications and improving AI model training.Background
The current classification functionality in Nachet Frontend visualizes seeds within images using rectangle boxes, with the backend providing details such as the box dimensions, top label prediction, confidence score, and overlap information. The introduction of a
topResult
attribute by the backend will now include the top 5 classification results for each seed.Proposed Functionality
To effectively leverage the
topResult
data, we propose introducing an interactive component that displays the top 5 classification results for a selected seed. Two design approaches are under consideration:Both methods aim to provide detailed insight into the classification process, offering users the ability to flag misclassifications directly. For more details on the design aspect, refer to the discussion with Maxence here.
Changes to Configuration
topResult
, the threshold slider in the results tuner configuration will be removed as it will no longer be utilized.Possible Extension
Consider the feasibility of allowing users to directly escalate issues from the classification pop-up, possibly automating the creation of a GitHub issue for further investigation.
Implementation Considerations
topResult
data might be incomplete or missing.topResult
attribute.Test Cases Checklist