gmm_fit_kmeans: Estimate Gaussian Mixture parameters from kmeans.

View source: R/MixtureFitting.R

gmm_fit_kmeansR Documentation

Estimate Gaussian Mixture parameters from kmeans.

Description

Estimates parameters for Gaussian mixture using kmeans.

Usage

    gmm_fit_kmeans( x, n )

Arguments

x

data vector

n

number of mixture components

Value

Vector of 3*n mixture parameters, where n is number of mixture components. Structure of p vector is p = c( A1, A2, ..., An, mu1, mu2, ..., mun, sigma1, sigma2, ..., sigman ), where Ai is the proportion of i-th component, mui is the location of i-th component, sigmai is the scale of i-th component.

Author(s)

Andrius Merkys


merkys/MixtureFitting documentation built on Feb. 26, 2023, 5:21 p.m.