public class MetropolisHastingsStep
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
io.improbable.keanu.algorithms.mcmc.MetropolisHastingsStep.StepResult |
step(java.util.Set<Variable> chosenVariables,
double logProbabilityBeforeStep) |
io.improbable.keanu.algorithms.mcmc.MetropolisHastingsStep.StepResult |
step(java.util.Set<Variable> chosenVariables,
double logProbabilityBeforeStep,
double temperature) |
public io.improbable.keanu.algorithms.mcmc.MetropolisHastingsStep.StepResult step(java.util.Set<Variable> chosenVariables, double logProbabilityBeforeStep)
public io.improbable.keanu.algorithms.mcmc.MetropolisHastingsStep.StepResult step(java.util.Set<Variable> chosenVariables, double logProbabilityBeforeStep, double temperature)
chosenVariables - variables to get a proposed change forlogProbabilityBeforeStep - The log of the previous state's probabilitytemperature - Temperature for simulated annealing. This
should be constant if no annealing is wanted