MCPcopy Create free account
hub / github.com/andeya/algorithm / ProbScores

Method ProbScores

bayesian/bayesian.go:295–318  ·  view source on GitHub ↗

ProbScores works the same as LogScores, but delivers actual probabilities as discussed above. Note that float64 underflow is possible if the word list contains too many words that have probabilities very close to 0. Notes on underflow: underflow is going to occur when you're trying to assess large

(doc []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestProbScoresFunction · 0.95
TestSeenLearnedFunction · 0.95

Calls 3

getPriorsMethod · 0.95
findMaxFunction · 0.85
getWordProbMethod · 0.80

Tested by 2

TestProbScoresFunction · 0.76
TestSeenLearnedFunction · 0.76