apply.GMM: Applies GMM algorithm to the given data data.matrix

Description Usage Arguments Value Examples

View source: R/GMM-package.R

Description

apply.GMM returns the log likelihood from the cluster to the observations. It also provides the labels/classifications of each points.

Usage

1

Arguments

data.matrix

Dataset of type matrix (List of double) and shape (n x d), where n is the number of observations and d is the dimension of the dataset.

K

The number of Gaussian mixtures.

Value

A class where "loglik" is the log likelihood, and "K" is the number of gaussian mixtures

For description of how GMM clustering algorithm works, please see the following url. https://en.wikipedia.org/wiki/Mixture_model#Gaussian_mixture_model

Examples

1

Prapti-044/GMM documentation built on Dec. 18, 2021, 7:48 a.m.