public final class ChowLiuStructuralLearningOptions extends Object implements StructuralLearningOptions
com.bayesserver.learning.structure.chowliu.ChowLiuStructuralLearning
class.Constructor and Description |
---|
ChowLiuStructuralLearningOptions() |
Modifier and Type | Method and Description |
---|---|
Cancellation |
getCancellation()
Gets of sets the instance implementing
Cancellation , used for cancellation. |
LinkConstraintCollection |
getLinkConstraints()
Gets any link constraints to use during structural learning.
|
long |
getMaximumBatchSize()
Gets the maximum number of tests that are buffered in memory for processing in a single iteration of the data.
|
StructuralLearningProgress |
getProgress()
Gets of sets the instance implementing
StructuralLearningProgress , used for progress notifications. |
Node |
getRoot()
Gets the root of the Chow-Liu tree.
|
Stop |
getStopping()
Gets the instance implementing
Stop used for early stopping. |
void |
setCancellation(Cancellation value)
Gets of sets the instance implementing
Cancellation , used for cancellation. |
void |
setMaximumBatchSize(long value)
Sets the maximum number of tests that are buffered in memory for processing in a single iteration of the data.
|
void |
setProgress(StructuralLearningProgress value)
Gets of sets the instance implementing
StructuralLearningProgress , used for progress notifications. |
void |
setRoot(Node value)
Sets the root of the Chow-Liu tree.
|
void |
setStopping(Stop value)
Sets the instance implementing
Stop used for early stopping. |
public LinkConstraintCollection getLinkConstraints()
getLinkConstraints
in interface StructuralLearningOptions
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 Node getRoot()
public void setRoot(Node value)
public long getMaximumBatchSize()
public void setMaximumBatchSize(long value)
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
Copyright © 2023. All rights reserved.