density
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Evaluates the log-likelihood of (a) feature vector(s) for a mixture model specified in the parameters meantable, sigmatable and wtable (weights).
- Usage
density(x, meantable, sigmatable, wtable, accurate, divbylength, framell {, lowerquantile, upperquantile})
- x
- input feature vectors
- meantable
- mean vectors of mixture model (Nmixtures x Ndimensions)
- sigmatable
- covariance vectors (i.e. diagonal of covariance matrices) of mixture model (Nmixtures x Ndimensions)
- wtable
- vector of mixture weights
- accurate
-
- if 1, the accurate log-likelihood estimation is used
- otherwise use the Intel IPP fast log. add method
- divbylength
-
- if 1, divide overall log-likelihood by number of observations
- otherwise not
- framell
-
- if 1, log-likelihoods are calculated for each individual frame
- otherwise they are summed up
- lowerquantileif a value is provided, likelihood values below this value are discarded
- upperquantileif a value is provided, likelihood values above this value are discarded