.\" Text automatically generated by txt2man .TH mlpack_gmm_generate 1 "12 December 2020" "mlpack-3.4.2" "User Commands" .SH NAME \fBmlpack_gmm_generate \fP- gmm sample generator .SH SYNOPSIS .nf .fam C \fBmlpack_gmm_generate\fP \fB-m\fP \fIunknown\fP \fB-n\fP \fIint\fP [\fB-s\fP \fIint\fP] [\fB-V\fP \fIbool\fP] [\fB-o\fP \fIstring\fP] [\fB-h\fP \fB-v\fP] .fam T .fi .fam T .fi .SH DESCRIPTION This program is able to generate samples from a pre-trained GMM (use gmm_train to train a GMM). The pre-trained GMM must be specified with the \(cq\fB--input_model_file\fP (\fB-m\fP)' parameter. The number of samples to generate is specified by the '\fB--samples\fP (\fB-n\fP)' parameter. Output samples may be saved with the '\fB--output_file\fP (\fB-o\fP)' output parameter. .PP The following command can be used to generate 100 samples from the pre-trained GMM 'gmm.bin' and store those generated samples in 'samples.csv': .PP $ \fBmlpack_gmm_generate\fP \fB--input_model_file\fP gmm.bin \fB--samples\fP 100 \fB--output_file\fP samples.csv .RE .PP .SH REQUIRED INPUT OPTIONS .TP .B \fB--input_model_file\fP (\fB-m\fP) [\fIunknown\fP] Input GMM model to generate samples from. .TP .B \fB--samples\fP (\fB-n\fP) [\fIint\fP] Number of samples to generate. .SH OPTIONAL INPUT OPTIONS .TP .B \fB--help\fP (\fB-h\fP) [\fIbool\fP] Default help info. .TP .B \fB--info\fP [\fIstring\fP] Print help on a specific option. Default value ''. .TP .B \fB--seed\fP (\fB-s\fP) [\fIint\fP] Random seed. If 0, 'std::time(NULL)' is used. Default value 0. .TP .B \fB--verbose\fP (\fB-v\fP) [\fIbool\fP] Display informational messages and the full list of parameters and timers at the end of execution. .TP .B \fB--version\fP (\fB-V\fP) [\fIbool\fP] Display the version of mlpack. .SH OPTIONAL OUTPUT OPTIONS .TP .B \fB--output_file\fP (\fB-o\fP) [\fIstring\fP] Matrix to save output samples in. .SH 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.