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

test_index.pickle文件的作用 #10

Open
waltbai opened this issue Nov 26, 2019 · 2 comments
Open

test_index.pickle文件的作用 #10

waltbai opened this issue Nov 26, 2019 · 2 comments

Comments

@waltbai
Copy link

waltbai commented Nov 26, 2019

由于是通过Granroth-wilding的代码重新生成了测试集,需要重新预处理数据。请问test_index.pickle的文件内容是什么?

@joeat1
Copy link

joeat1 commented Oct 26, 2020

处理
看代码的话,这应该是一系列格式为 (index1,index2) 的元组,通过元组来选择 score 中的部分答案,通过函数 process_test 将该索引对应的答案选项的分数变成最小的,即舍去。

@eecrazy
Copy link
Owner

eecrazy commented Nov 16, 2020

上面回答正确。我们做了一个小的假设:context中的事件不会是正确答案,把候选事件中在context里出现过的直接设为了错误答案。这样做的话对结果有极微小的影响。

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

3 participants