Class IterationStats

java.lang.Object
jdistlib.inference.IterationStats

public final class IterationStats extends Object
Per-iteration sampler statistics used by convergence diagnostics.
  • Constructor Summary

    Constructors
    Constructor
    Description
    IterationStats(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

    Modifier and Type
    Method
    Description
    double
     
    boolean
     
    boolean
     
    double
     
    double
     
    int
     
    double
    Approximate condition number of the active inverse metric, when reported.
    double
     
    int
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.