Struct rusty_machine::learning::naive_bayes::Multinomial [] [src]

pub struct Multinomial { /* fields omitted */ }

The Multinomial Naive Bayes model distribution.

Defines:

p(x|Ck) ∝ ∏i pkxi

Methods

impl Multinomial
[src]

The log probability matrix.

A matrix of class by feature model log-probabilities.

Trait Implementations

impl Debug for Multinomial
[src]

Formats the value using the given formatter.

impl Distribution for Multinomial
[src]

Initialize the distribution parameters.

Updates the distribution parameters.

Compute the joint log likelihood of the data. Read more