ad_interfaceEM: ad_interfaceEM

View source: R/ad_interfaceEM.R

ad_interfaceEMR Documentation

ad_interfaceEM

Description

Transforms two numbers (variances of independent directions) and an angle to an ellipsoid matrix.

Usage

ad_interfaceEM(Data, Mu, Sigma, Lambda, Nmodes = 1, Addmodes = 1, Nit = 1,
Verbose = 0)

Arguments

Data

[1:n, 1:2] Numeric matrix with n observations and 2 feature dimensions.

Mu

List of l two-dimensional numeric vectors carrying mean vector.

Sigma

List of l 2x2 numeric matrices carrying covariance matrices.

Lambda

[1:l] Numeric vector with l weights for l Gaussian Mixture Model components.

Nmodes

Number of modes to initialize if no (Mu, Sigma, Lambda) is given.

Nit

Numerical value: max number of iterations.

Addmodes

Optional: Addmodes = 1: Allow EM to add modes. Addmodes = 0: do not allow EM to add modes.

Verbose

Optional: 0, 1 or 2. 0 = no output, 1 = messages, 2 = messages + plot. Default ==0. Print some outputs.

Value

Mu

List of l two-dimensional numeric vectors carrying mean vector.

Sigma

List of l 2x2 numeric matrices carrying covariance matrices.

Lambda

[1:l] Numeric vector with l weights for l Gaussian Mixture Model components.

MainAxesAngle

List of length l with numeric vectors [1:3] with main axes and the angle between the first dimension of a 2D cartesian coordinate system the first main ax for all Gaussian Mixture Model components.

Author(s)

Quirin Stier


Mthrun/AdaptGauss2D documentation built on July 19, 2022, 3:11 a.m.