updateEM | R Documentation |
In the Gaussian Mixture Model, parameters will be updated based on EM algorithm.
updateEM(p.in, mu.in, sigma.in, means, sum.x.sq, N, len, st)
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. |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.