estimate_supervised_univariate_GMM: Estimate the parameters in supervised case (all labels...

View source: R/mixture.R

estimate_supervised_univariate_GMMR Documentation

Estimate the parameters in supervised case (all labels associated to the observations are available)

Description

Estimate the parameters in supervised case (all labels associated to the observations are available)

Usage

estimate_supervised_univariate_GMM(x, s, s_outliers = s, k = length(unique(s)))

estimate_supervised_multivariate_GMM(x, s, k = length(unique(s)))

Arguments

x

the univariate or multivariate distribution of observed variables

s

the index of the clusters, ranging from 1 to k, the number of clusters

s_outliers

binary index, with 0 corresponding to outlying points

k

the number of classes (by default, the number of unique values within the indicator vector)

Value

a list with three arguments, respectively the proportions, the means, and the variance / covariance

Author(s)

Bastien CHASSAGNOL

See Also

simulate_univariate_GMM


bastienchassagnol/RGMMBench documentation built on Oct. 26, 2023, 5:58 p.m.