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

NN ensemble may return scores above 1.0 #470

Closed
osma opened this issue Mar 1, 2021 · 0 comments · Fixed by #471
Closed

NN ensemble may return scores above 1.0 #470

osma opened this issue Mar 1, 2021 · 0 comments · Fixed by #471
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Mar 1, 2021

The NN ensemble doesn't always return scores in the range 0.0-1.0.

For example, the yso-sv model currently available in Finto AI returns this for the input text historia:

{
  "results": [
    {
      "label": "historia",
      "notation": null,
      "score": 1.3140300512313843,
      "uri": "http://www.yso.fi/onto/yso/p1780"
    },
    [...]
}

This should be avoided, for example by capping the scores to 1.0.

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

Successfully merging a pull request may close this issue.

1 participant