Package com.bayesserver.analysis
Class ClusterCountOptions
- java.lang.Object
-
- com.bayesserver.analysis.ClusterCountOptions
-
public final class ClusterCountOptions extends Object
Options used byClusterCount
.
-
-
Constructor Summary
Constructors Constructor Description ClusterCountOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cancellation
getCancellation()
Gets of sets the instance implementingCancellation
, used for cancellation.boolean
getEnsureTestWithoutCluster()
Gets a value which indicates whether a test must be included which excludes the cluster variable altogether.InferenceFactory
getInferenceFactory()
Gets the factory which is used to create inference engines during the cluster count tests.int
getPartitions()
Gets the number of cross validation partitions to use.int
getRunsPerConfiguration()
Gets of sets the number of times training is re-run for each network structure tested.void
setCancellation(Cancellation value)
Gets of sets the instance implementingCancellation
, used for cancellation.void
setEnsureTestWithoutCluster(boolean value)
Sets a value which indicates whether a test must be included which excludes the cluster variable altogether.void
setInferenceFactory(InferenceFactory value)
Sets the factory which is used to create inference engines during the cluster count tests.void
setPartitions(int value)
Sets the number of cross validation partitions to use.void
setRunsPerConfiguration(int value)
Gets of sets the number of times training is re-run for each network structure tested.
-
-
-
Method Detail
-
getRunsPerConfiguration
public int getRunsPerConfiguration()
Gets of sets the number of times training is re-run for each network structure tested. The higher the number, the longer the tests will take, but the tests will be more accurate.
-
setRunsPerConfiguration
public void setRunsPerConfiguration(int value)
Gets of sets the number of times training is re-run for each network structure tested. The higher the number, the longer the tests will take, but the tests will be more accurate.
-
getCancellation
public Cancellation getCancellation()
Gets of sets the instance implementingCancellation
, used for cancellation.- See Also:
Cancellation
-
setCancellation
public void setCancellation(Cancellation value)
Gets of sets the instance implementingCancellation
, used for cancellation.- See Also:
Cancellation
-
getPartitions
public int getPartitions()
Gets the number of cross validation partitions to use. The higher the number, the longer the tests will take.
-
setPartitions
public void setPartitions(int value)
Sets the number of cross validation partitions to use. The higher the number, the longer the tests will take.
-
getInferenceFactory
public InferenceFactory getInferenceFactory()
Gets the factory which is used to create inference engines during the cluster count tests.
-
setInferenceFactory
public void setInferenceFactory(InferenceFactory value)
Sets the factory which is used to create inference engines during the cluster count tests.
-
getEnsureTestWithoutCluster
public boolean getEnsureTestWithoutCluster()
Gets a value which indicates whether a test must be included which excludes the cluster variable altogether. (i.e. a test with a single cluster). It may be the case that a cluster (latent variable) is not warrented at all, which this test can detect.
-
setEnsureTestWithoutCluster
public void setEnsureTestWithoutCluster(boolean value)
Sets a value which indicates whether a test must be included which excludes the cluster variable altogether. (i.e. a test with a single cluster). It may be the case that a cluster (latent variable) is not warrented at all, which this test can detect.
-
-