score_calc {SparseMDC} | R Documentation |
Score calculator
Description
Calculates the score for each combination of cluster assignments
and center values. This function runs inside sparse_mdc
.
Usage
score_calc(pdat, clusters, mu, lambda1, lambda2, nclust, delta, dim)
Arguments
pdat |
list with D entries, each entry contains data d, p * n matrix. This data should be centered and log-transformed. |
clusters |
List containig cluster assignments for each dimension as entries. |
mu |
list with D entries, each entry contains centers for data d, p*k matrix. |
lambda1 |
Penalty parameter for mean size. |
lambda2 |
Penalty parameter for mean difference. |
nclust |
Number of clusters in the data. |
delta |
Small term to ensure existance of solution, default is 0.0000001. |
dim |
Total number of conditions, D. |
Value
The caluculated score.
[Package SparseMDC version 0.99.5 Index]