public class Beta extends java.lang.Object implements ContinuousDistribution
| Modifier and Type | Method and Description |
|---|---|
Diffs |
dLogProb(DoubleTensor x) |
DoubleTensor |
logProb(DoubleTensor x) |
static DoubleVertex |
logProbOutput(DoublePlaceholderVertex x,
DoublePlaceholderVertex alpha,
DoublePlaceholderVertex beta) |
DoubleTensor |
sample(long[] shape,
KeanuRandom random) |
static ContinuousDistribution |
withParameters(DoubleTensor alpha,
DoubleTensor beta,
DoubleTensor xMin,
DoubleTensor xMax) |
public static ContinuousDistribution withParameters(DoubleTensor alpha, DoubleTensor beta, DoubleTensor xMin, DoubleTensor xMax)
public DoubleTensor sample(long[] shape, KeanuRandom random)
sample in interface Distribution<DoubleTensor>public DoubleTensor logProb(DoubleTensor x)
logProb in interface Distribution<DoubleTensor>public static DoubleVertex logProbOutput(DoublePlaceholderVertex x, DoublePlaceholderVertex alpha, DoublePlaceholderVertex beta)
public Diffs dLogProb(DoubleTensor x)
dLogProb in interface ContinuousDistribution