KrisLibrary
1.0.0
|
Public Member Functions | |
CategoricalMAPModel (const std::vector< Real > &priors) | |
CategoricalMAPModel (const std::vector< Real > &values, const std::vector< Real > &priors) | |
CategoricalDistribution * | Estimate () |
void | MaximumLikelihood (const std::vector< Real > &data) |
void | AddSample (Real value, Real weight=1.0) |
Public Attributes | |
std::map< Real, Real > | counts |