updateEM: Update parameters using EM algorithm

updateEMR Documentation

Update parameters using EM algorithm

Description

In the Gaussian Mixture Model, parameters will be updated based on EM algorithm.

Usage

updateEM(p.in, mu.in, sigma.in, means, sum.x.sq, N, len, st)

Arguments

p.in

Initial probability for each CNA cluster.

mu.in

Initial mean value for each CNA cluster.

sigma.in

Initial variance for each CNA cluster.

means

Mean value vector for each segment.

sum.x.sq

Sum of squared mean values for each segment.

N

Number of candiate CNAs.

len

Width of candiate CNAs.

st

Number of assumed states in the EM algorithm.

Value

The return is the updated parameters using EM algorithm

p.new

Updated probability for each CNA cluster.

mu.new

Updated mean value for each CNA cluster.

sigma.new

Updated variance for each CNA cluster.


FeifeiXiaoUSC/FLCNA documentation built on March 29, 2025, 10:48 p.m.