You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be awesome if we could access a confidence level/percentage from ParsimmonNaiveBayesClassifer.classifyTokens method, maybe some easily-digestible human-friendly value.
The text was updated successfully, but these errors were encountered:
@tptee Not sure if Swift is something that interests you, but I’m in the middle of making a Swift version of Parsimmon, and because Swift supports tuples, the API can be something like:
let(category, confidence)= classifier.classify("I swear that this is not spam")
@tpteehttps://github.com/tptee Not sure if Swift is something that interests you, but I’m in the middle of making a Swift version of Parsimmon, and because Swift supports tuples, the API can be something like:
let (category, confidence) = classifier.classify("I swear that this is not spam")
which would be pretty slick I think.
—
Reply to this email directly or view it on GitHub #10 (comment).
Hi,
Would be awesome if we could access a confidence level/percentage from ParsimmonNaiveBayesClassifer.classifyTokens method, maybe some easily-digestible human-friendly value.
The text was updated successfully, but these errors were encountered: