expectation_uv: expectation_uv: Part of DCEM package.

Description Usage Arguments Value

View source: R/dcem_em_utils.R

Description

Calculates the probabilistic weights for the univariate data.

Usage

1
expectation_uv(data, weights, meu, sigma, prior, num_clusters, tolerance)

Arguments

data

(matrix): The input data.

weights

(matrix): The probability weight matrix.

meu

(vector): The vector of meu.

sigma

(vector): The vector of sigma (standard-deviations).

prior

(vector): The vector of priors.

num_clusters

(numeric): The number of clusters.

tolerance

(numeric): The system epsilon value.

Value

Updated probability weight matrix.


parichit/DCEM documentation built on Jan. 22, 2022, 6:13 p.m.