public final class ClusterCount extends Object
| Modifier and Type | Method and Description |
|---|---|
static ClusterCountOutput |
detect(Network network,
Variable cluster,
List<Integer> clusterCounts,
ClusterCountActions actions,
ClusterCountOptions options)
Determine the number of clusters (discrete states of a latent variable) using cross validation.
|
public static ClusterCountOutput detect(Network network, Variable cluster, List<Integer> clusterCounts, ClusterCountActions actions, ClusterCountOptions options)
network - The Bayesian network.cluster - The cluster (discrete latent variable) to test. Include 1 to test for no cluster variable.clusterCounts - Different cluster counts to test.actions - User supplied functions required during the calculation.options - Options affecting how the tests are performed.Copyright © 2021. All rights reserved.