Scroll to navigation

mlpack_gmm_probability(1) User Commands mlpack_gmm_probability(1)

NAME

mlpack_gmm_probability - gmm probability calculator

SYNOPSIS


mlpack_gmm_probability -i unknown -m unknown [-V bool] [-o unknown] [-h -v]

DESCRIPTION

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:

$ mlpack_gmm_probability --input_model_file gmm.bin --input_file points.csv --output_file probs.csv

REQUIRED INPUT OPTIONS

Input matrix to calculate probabilities of.
Input GMM to use as model.

OPTIONAL INPUT OPTIONS

Default help info.
Print help on a specific option. Default value ''.
Display informational messages and the full list of parameters and timers at the end of execution.
Display the version of mlpack.

OPTIONAL OUTPUT OPTIONS

--output_file (-o) [unknown] Matrix to store calculated probabilities in.

ADDITIONAL INFORMATION

For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your distribution of mlpack.

28 November 2023 mlpack-4.3.0