Thresholds Not Updated After Thresholds Tuning #299
Replies: 2 comments 4 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.
-
As far as I'm aware, this issue was resolved some time ago. I have an example here I put together just yesterday where I was optimizing thresholds (towards the end of the notebook). It could be an input data issue, I would make sure to have plenty of If anyone is still seeing issues please let us know by raising an issue |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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