Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

add method to parse with probabilities#1

Open
nkansal96 wants to merge 1 commit into
macournoyer:masterfrom
nkansal96:feature/parse-with-probabilities
Open

add method to parse with probabilities#1
nkansal96 wants to merge 1 commit into
macournoyer:masterfrom
nkansal96:feature/parse-with-probabilities

Conversation

@nkansal96

Copy link
Copy Markdown

Added a method parse_with_probabilities. This returns a hash of all classes with respective probabilities (instead of just the max_class). This would be useful when trying to determine the certainty of a prediction (or getting next-best results).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant