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

Filter results with low confidence #2

Open
saggu opened this issue Oct 17, 2017 · 2 comments
Open

Filter results with low confidence #2

saggu opened this issue Oct 17, 2017 · 2 comments
Assignees

Comments

@saggu
Copy link
Member

saggu commented Oct 17, 2017

Filter out all extractions with confidence < threshold
threshold = 0.4 by default

@jasonslepicka
Copy link
Contributor

need a new check here to continue (i.e. don't add the value to the fields for indexing) https://github.com/usc-isi-i2/dig-sandpaper/blob/master/digsandpaper/elasticsearch_indexing/index_knowledge_graph.py#L56 if confidence value is too low. need to add a parameter with a default threshold of 0 to the method here https://github.com/usc-isi-i2/dig-sandpaper/blob/master/digsandpaper/elasticsearch_indexing/index_knowledge_graph.py#L20.

@jasonslepicka
Copy link
Contributor

to override the threshold, we should add a key to the config here here

"log_responses": "/tmp"
and pass the value to this function
jls = _index_fields(request)

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

No branches or pull requests

2 participants