Description Usage Arguments Value
Conditional maximisation step for Expectation-Maximisation algorithm. Maximising paramters for current batch of data conditional on the parameters from the previous batch.
1 2 3 |
x_A |
A matrix of data for previous batch. |
x_B |
A matrix of data for the current batch. |
mean_A |
The mean vectors for the previous batch (considered fixed). |
sigma_AA |
The covariance matrices for the previous batch (considered fixed). |
sigma_AB |
Starting value for the covariance between batches A and B. If
|
mean_B |
Starting value for the mean vectors for the current batch. |
sigma_BB |
Starting value for the covariance matrix for the current batch. |
pro |
Starting value for mixing proportions. |
groups |
Optional, number of groups in the mixture, inferred from
|
z |
A matrix of cluster memberships/probabilities. |
likelihood |
Logical for calculating likelihood of these two batches. |
method_sigma_AB |
One of |
updateA |
Logical for updating the parameters of batch A after estimating the parameters for batch B. |
A list of parameter estimates for the mixing proportions, mean vectors, and covariance matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.