Thresholds Not Updated After Thresholds Tuning #299
Unanswered
prawiraelang
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@prawiraelang If you think this is a bug, you should open an issue about it not a discussion. Otherwise, this bug might go unnoticed. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have experimented with tuning the thresholds, but it appears that the threshold is not being updated. I am using
AzureOpenAIEncoder
with a default threshold value of 0.82. Upon examining the code, I found the following section:The above code snippet shows that the threshold is only updated if a new threshold with better accuracy is found.
My initial accuracy is around 23%, but it has not changed after attempting to tune the threshold because the threshold is not being updated. However, when I changed the default threshold to 0.0, I achieved nearly 100% accuracy. I am concerned that there might be something wrong with the fit mechanism, especially the search range, because the threshold should at least be updated to 0.0, as it clearly performs better than 0.8. Is anyone else experiencing this behavior?
Beta Was this translation helpful? Give feedback.
All reactions