mynlp icon indicating copy to clipboard operation
mynlp copied to clipboard

预测标签概率和不等于1?

Open Energy9502 opened this issue 4 years ago • 1 comments

训练数据集为正面、负面数据。但是预测数据的结果:正面的得分(概率)与负面,得分(概率)之和不等于1?请问是什么原因。难道每个标签的得分是(0,1)区间吗? 正面,[[__label__pos,0.49219814],[__label__neg,0.11921292]],RT @ABC: Fireworks greet Joe Biden and Kamala Harris following Biden's acceptance of the Democratic nomination for president. … Fireworks greet Joe Biden and Kamala Harris following Biden's acceptance of the Democratic nomination for president. #DemConvention 负面,[[__label__neg,0.28777784],[__label__pos,0.09808932]],RT @American_Bridge: The people who know Donald Trump best are sounding the alarm: our country cannot survive four more years of a Trump pr… The people who know Donald Trump best are sounding the alarm: our country cannot survive four more years of a Trump presidency.In our latest ad, a former member of his inner circle & fixer — @MichaelCohen212 — has a dire warning for us all. #RNC2020

Energy9502 avatar Aug 30 '20 13:08 Energy9502

是的,按照我的理解,每个数据都计算和tag在向量空间的cos夹角,所以各自分布在[0,1]之间

jimichan avatar Aug 31 '20 01:08 jimichan