public final class ParameterLearningProgressInfo extends Object implements Cloneable
ParameterLearning.learn(com.bayesserver.data.EvidenceReaderCommand, com.bayesserver.learning.parameters.ParameterLearningOptions)
.Modifier and Type | Method and Description |
---|---|
Double |
getDelta()
Gets the relative change in parameters used to determine convergence.
|
int |
getIterationCount()
Gets the current iteration count.
|
Double |
getLogLikelihood()
Gets the current log likelihood value, if calculated
|
Distribution |
getMonitoredDistribution(Node node)
Gets a copy of the current distribution assigned to the [node].
|
Distribution |
getMonitoredDistribution(Node node,
Integer order)
Gets a copy of the current distribution assigned to the [node] at the requested order.
|
Distribution |
getMonitoredDistribution(Node node,
NodeDistributionKey key)
Gets a copy of the current distribution assigned to the [node] at the requested order.
|
public Distribution getMonitoredDistribution(Node node)
node
- The node.public Distribution getMonitoredDistribution(Node node, Integer order)
order
- The order of the distribution to retrieve. For temporal nodes that may have more than one distribution.node
- The node.public Distribution getMonitoredDistribution(Node node, NodeDistributionKey key)
key
- The order/related node of the distribution to retrieve. For temporal nodes / noisy nodes that may have more than one distribution.node
- The node.public Double getLogLikelihood()
This value is only calculated if ParameterLearningOptions.getMonitorLogLikelihood()
is true
, as it can be expensive to calculate.
For more information about the log likelihood statistic see ParameterLearningOutput.getLogLikelihood()
.
public Double getDelta()
ParameterLearningOptions.getTolerance()
for more information about convergence.public int getIterationCount()
Copyright © 2021. All rights reserved.