Package com.bayesserver.analysis
Class ClusterCount
- java.lang.Object
-
- com.bayesserver.analysis.ClusterCount
-
public final class ClusterCount extends Object
Methods to determine the number of clusters (discrete states of a latent variable).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
detect
public 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.- Parameters:
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.- Returns:
- The number of clusters, and supplementary information.
-
-