Package jdistlib.inference
Class IterationStats
java.lang.Object
jdistlib.inference.IterationStats
Per-iteration sampler statistics used by convergence diagnostics.
-
Constructor Summary
ConstructorsConstructorDescriptionIterationStats(boolean accepted, double acceptanceProbability, double stepSize, double energy, double energyError, boolean divergent, int treeDepth, boolean treeDepthSaturated, int leapfrogSteps) IterationStats(boolean accepted, double acceptanceProbability, double stepSize, double energy, double energyError, boolean divergent, int treeDepth, boolean treeDepthSaturated, int leapfrogSteps, double metricConditionNumber) IterationStats(boolean accepted, double acceptanceProbability, double stepSize, double energy, double energyError, boolean divergent, int treeDepth, int leapfrogSteps) -
Method Summary
-
Constructor Details
-
IterationStats
public IterationStats(boolean accepted, double acceptanceProbability, double stepSize, double energy, double energyError, boolean divergent, int treeDepth, int leapfrogSteps) -
IterationStats
public IterationStats(boolean accepted, double acceptanceProbability, double stepSize, double energy, double energyError, boolean divergent, int treeDepth, boolean treeDepthSaturated, int leapfrogSteps) -
IterationStats
public IterationStats(boolean accepted, double acceptanceProbability, double stepSize, double energy, double energyError, boolean divergent, int treeDepth, boolean treeDepthSaturated, int leapfrogSteps, double metricConditionNumber)
-
-
Method Details
-
accepted
public boolean accepted() -
acceptanceProbability
public double acceptanceProbability() -
stepSize
public double stepSize() -
energy
public double energy() -
energyError
public double energyError() -
divergent
public boolean divergent() -
treeDepth
public int treeDepth() -
treeDepthSaturated
public boolean treeDepthSaturated() -
leapfrogSteps
public int leapfrogSteps() -
metricConditionNumber
public double metricConditionNumber()Approximate condition number of the active inverse metric, when reported.
-