MCPcopy Index your code
hub / github.com/andeya/algorithm / getPriors

Method getPriors

bayesian/bayesian.go:194–209  ·  view source on GitHub ↗

getPriors returns the prior probabilities for the classes provided -- P(C_j). TODO: There is a way to smooth priors, currently not implemented here.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestEmptyFunction · 0.95
LogScoresMethod · 0.95
ProbScoresMethod · 0.95
SafeProbScoresMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestEmptyFunction · 0.76