We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好, 我现在得到了AAPD测试集真实标签的条件概率和模型预测标签的条件概率,但是预测标签的条件概率存在为0的情况,无法直接计算KL散度。 对于此情况,我是直接if-else处理的,if p_prediction ==0 or p_ground ==0, KL_score = 0。但是这种方法计算出来的Klein散度为2.719,与论文的数值差距太大。 想知道您是如何处理此情况的。如果方便的话,能否公开一下KL散度的计算代码? 谢谢,祝您身体健康,工作顺利~
if p_prediction ==0 or p_ground ==0, KL_score = 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,
我现在得到了AAPD测试集真实标签的条件概率和模型预测标签的条件概率,但是预测标签的条件概率存在为0的情况,无法直接计算KL散度。
对于此情况,我是直接if-else处理的,
if p_prediction ==0 or p_ground ==0, KL_score = 0
。但是这种方法计算出来的Klein散度为2.719,与论文的数值差距太大。想知道您是如何处理此情况的。如果方便的话,能否公开一下KL散度的计算代码?
谢谢,祝您身体健康,工作顺利~
The text was updated successfully, but these errors were encountered: