Skip to content
New issue

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

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

Open
Energy9502 opened this issue Aug 30, 2020 · 1 comment
Open

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

Energy9502 opened this issue Aug 30, 2020 · 1 comment

Comments

@Energy9502
Copy link

训练数据集为正面、负面数据。但是预测数据的结果:正面的得分(概率)与负面,得分(概率)之和不等于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

@jimichan
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants