Log unconditional probability density for naive Bayes classifier

returns
the log unconditional
probability density of the observations (rows) in `lp`

= logP(`Mdl`

,`tbl`

)`tbl`

using
the naive Bayes model `Mdl`

.

You can use `lp`

to identify outliers in the
training data.

returns
the log unconditional
probability density of the observations (rows) in `lp`

= logP(`Mdl`

,`X`

)`X`

using
the naive Bayes model `Mdl`

.