---
name: "mlpack_gmm_probability"
section: "1"
platform: "linux"
package: "mlpack-bin"
version: "4.6.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_gmm_probability"
---

# mlpack\_gmm\_probability(1)

gmm probability calculator

## 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\_file (-i) \[*unknown*\]**

  Input matrix to calculate probabilities of.

- **--input\_model\_file (-m) \[*unknown*\]**

  Input GMM to use as model.

## OPTIONAL INPUT OPTIONS

- **--help (-h) \[*bool*\]**

  Default help info.

- **--info \[string\]**

  Print help on a specific 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.

## 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.
