baidu / baidu/Senta

如何修改得到置信区间

Open
#35 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
362
PR merge metrics
No merged PRs in 30d

Description

我修改了train.py中的results.append((text, label,probs)) 这样能返回对应的分数了。
但想知道,如何返回https://ai.baidu.com/ai-doc/NLP/zk6z52hds 提到的置信度?
![image](https://user-images.githubusercontent.com/68889682/89256378-8b404d00-d656-11ea-951d-bccf564e8af3.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in train.py at the results.append((text, label, probs)) change and compare its returned scores with the confidence described in the linked Baidu NLP documentation. Determine the intended confidence value and make the result expose it; done means the output includes that value for each result and matches the documented meaning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.