public final class PCStructuralLearningOptions extends Object implements StructuralLearningOptions
com.bayesserver.learning.structure.pc.PCStructuralLearning
class.Constructor and Description |
---|
PCStructuralLearningOptions()
Initializes a new instance of the
com.bayesserver.learning.structure.pc.PCStructuralLearningOptions class. |
Modifier and Type | Method and Description |
---|---|
Cancellation |
getCancellation()
Gets of sets the instance implementing
Cancellation , used for cancellation. |
IndependenceOptions |
getIndependence()
Gets options controlling how the independence tests are carried out.
|
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.
|
int |
getMaximumConditional()
Gets the maximum number of conditional variables to consider during independence testing.
|
int |
getMaximumTemporalOrder()
Gets the maximum order of temporal links that are considered during learning.
|
StructuralLearningProgress |
getProgress()
Gets of sets the instance implementing
StructuralLearningProgress , used for progress notifications. |
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 |
setMaximumConditional(int value)
Sets the maximum number of conditional variables to consider during independence testing.
|
void |
setMaximumTemporalOrder(int value)
Sets the maximum order of temporal links that are considered during learning.
|
void |
setProgress(StructuralLearningProgress value)
Gets of sets the instance implementing
StructuralLearningProgress , used for progress notifications. |
void |
setStopping(Stop value)
Sets the instance implementing
Stop used for early stopping. |
public PCStructuralLearningOptions()
com.bayesserver.learning.structure.pc.PCStructuralLearningOptions
class.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 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 long getMaximumBatchSize()
public void setMaximumBatchSize(long value)
public int getMaximumTemporalOrder()
public void setMaximumTemporalOrder(int value)
public IndependenceOptions getIndependence()
public int getMaximumConditional()
Typically a value of 3 is used.
A value of 0 means that only marginal independence tests will be performed.
public void setMaximumConditional(int value)
value
- The maximum number of conditional variables considered.
Typically a value of 3 is used.
A value of 0 means that only marginal independence tests will be performed.
Copyright © 2023. All rights reserved.