mlpack_gmm_probability - gmm probability calculator
mlpack_gmm_probability [-h] [-v]
This program calculates the probability that given points came from a given GMM (that is, P(X | gmm)). The GMM is specified with the ’--input_model_file (-m)’ parameter, and the points are specified with the ’--input_file (-i)’ parameter. The output probabilities may be saved via the ’--output_file (-o)’ output parameter.
So, for example, to calculate the probabilities of each point in ’points.csv’ coming from the pre-trained GMM ’gmm.bin’, while storing those probabilities in ’probs.csv’, the following command could be used:
$ gmm_probability --input_model_file gmm.bin --input_file points.csv --output_file probs.csv
--input_file (-i) [string]
Input matrix to calculate probabilities of. --input_model_file (-m) [unknown] Input GMM to use as model.
--help (-h) [bool]
Default help info.
Get help on a specific module or option. Default value ’’.
--verbose (-v) [bool]
Display informational messages and the full list of parameters and timers at the end of execution.
--version (-V) [bool]
Display the version of mlpack.
--output_file (-o) [string]
Matrix to store calculated probabilities in. Default value ’’.
For further information, including relevant papers, citations, and theory, For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your consult the documentation found at http://www.mlpack.org or included with your DISTRIBUTION OF MLPACK. DISTRIBUTION OF MLPACK.