public final class ClusteringStructuralLearningOptions extends Object implements StructuralLearningOptions
com.bayesserver.learning.structure.clustering.ClusteringStructuralLearning
class.Constructor and Description |
---|
ClusteringStructuralLearningOptions() |
Modifier and Type | Method and Description |
---|---|
Cancellation |
getCancellation()
Gets of sets the instance implementing
Cancellation , used for cancellation. |
String |
getClusterVariableName()
Gets the name of the cluster/latent node/variable created when more than 1 hidden state is detected.
|
InferenceFactory |
getInferenceFactory()
Gets the inference factory used during scoring.
|
LinkConstraintCollection |
getLinkConstraints()
Gets any link constraints to use during structural learning.
|
Integer |
getMaximumClusterCount()
Gets the maximum number of clusters generated.
|
Integer |
getMaximumIterations()
Gets the maximum number of iterations used by parameter learning to score each configuration.
|
Integer |
getPartitions()
Gets the number of cross validation partitions to use when scoring each cluster count.
|
StructuralLearningProgress |
getProgress()
Gets of sets the instance implementing
StructuralLearningProgress , used for progress notifications. |
Integer |
getRunsPerConfiguration()
Gets the number of times training is re-run for each network structure tested.
|
Stop |
getStopping()
Gets the instance implementing
Stop used for early stopping. |
boolean |
getTestSingleCluster()
Gets a value which determines whether a test is performed for a single cluster (i.e.
|
void |
setCancellation(Cancellation value)
Gets of sets the instance implementing
Cancellation , used for cancellation. |
void |
setClusterVariableName(String value)
Sets the name of the cluster/latent node/variable created when more than 1 hidden state is detected.
|
void |
setInferenceFactory(InferenceFactory value)
Sets the inference factory used during scoring.
|
void |
setMaximumClusterCount(Integer value)
Sets the maximum number of clusters generated.
|
void |
setMaximumIterations(Integer value)
Sets the maximum number of iterations used by parameter learning to score each configuration.
|
void |
setPartitions(Integer value)
Sets the number of cross validation partitions to use when scoring each cluster count.
|
void |
setProgress(StructuralLearningProgress value)
Gets of sets the instance implementing
StructuralLearningProgress , used for progress notifications. |
void |
setRunsPerConfiguration(Integer value)
Sets the number of times training is re-run for each network structure tested.
|
void |
setStopping(Stop value)
Sets the instance implementing
Stop used for early stopping. |
void |
setTestSingleCluster(boolean value)
Sets a value which determines whether a test is performed for a single cluster (i.e.
|
public InferenceFactory getInferenceFactory()
public void setInferenceFactory(InferenceFactory value)
public Integer getRunsPerConfiguration()
public void setRunsPerConfiguration(Integer value)
public String getClusterVariableName()
public void setClusterVariableName(String value)
public Integer getPartitions()
public void setPartitions(Integer value)
public Integer getMaximumIterations()
public void setMaximumIterations(Integer value)
public StructuralLearningProgress getProgress()
StructuralLearningProgress
, used for progress notifications.getProgress
in interface StructuralLearningOptions
public void setProgress(StructuralLearningProgress value)
StructuralLearningProgress
, used for progress notifications.setProgress
in interface StructuralLearningOptions
public Stop getStopping()
Stop
used for early stopping.
Stopping is different to cancellation, as stopping will still complete the learning process, albeit having not run to completion.getStopping
in interface StructuralLearningOptions
public void setStopping(Stop value)
Stop
used for early stopping.
Stopping is different to cancellation, as stopping will still complete the learning process, albeit having not run to completion.setStopping
in interface StructuralLearningOptions
value
- The instance used for stopping.public Cancellation getCancellation()
Cancellation
, used for cancellation.getCancellation
in interface StructuralLearningOptions
Cancellation
public void setCancellation(Cancellation value)
Cancellation
, used for cancellation.setCancellation
in interface StructuralLearningOptions
Cancellation
public LinkConstraintCollection getLinkConstraints()
getLinkConstraints
in interface StructuralLearningOptions
public Integer getMaximumClusterCount()
public void setMaximumClusterCount(Integer value)
public boolean getTestSingleCluster()
public void setTestSingleCluster(boolean value)
Copyright © 2023. All rights reserved.