public class StudentTVertex extends DoubleVertex implements Differentiable, ProbabilisticDouble, SamplableWithManyScalars<DoubleTensor>, LogProbGraphSupplier
| Constructor and Description |
|---|
StudentTVertex(int v) |
StudentTVertex(IntegerVertex v) |
StudentTVertex(long[] tensorShape,
int v) |
StudentTVertex(long[] tensorShape,
IntegerVertex v)
One v that must match a proposed tensor shape of StudentT
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Vertex,DoubleTensor> |
dLogProb(DoubleTensor t,
java.util.Set<? extends Vertex> withRespect)
The partial derivatives of the natural log prob.
|
IntegerVertex |
getV() |
double |
logProb(DoubleTensor t)
This is the natural log of the probability at the supplied value.
|
LogProbGraph |
logProbGraph() |
DoubleTensor |
sampleWithShape(long[] shape,
KeanuRandom random) |
abs, acos, asin, atan, atan2, ceil, concat, cos, div, div, divideBy, divideBy, equalTo, exp, floor, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, loadValue, log, logGamma, matrixDeterminant, matrixInverse, matrixMultiply, max, min, minus, minus, multiply, multiply, notEqualTo, observe, observe, permute, plus, plus, pow, pow, reshape, reverseDiv, reverseMinus, round, saveValue, setAndCascade, setAndCascade, setValue, setValue, setWithMask, setWithMask, sigmoid, sin, slice, sum, sum, take, tan, times, times, toGreaterThanMask, toGreaterThanMask, toGreaterThanOrEqualToMask, toGreaterThanOrEqualToMask, toInteger, toLessThanMask, toLessThanMask, toLessThanOrEqualToMask, toLessThanOrEqualToMask, transpose, unaryMinusaddChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getObservedValue, getParents, getRank, getReference, getShape, getState, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, save, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitforwardModeAutoDifferentiation, reverseModeAutoDifferentiation, withRespectToSelfdLogPdf, dLogPdf, dLogPdf, dLogPdf, dLogPdf, dLogPdf, logPdf, logPdf, logPdfdLogProb, dLogProbAtValue, dLogProbAtValue, getValue, keepOnlyProbabilisticVertices, logProbAtValuegetObservedValue, isObserved, observe, unobservesample, sampleManyScalars, sampleManyScalarssampleWithShapepublic StudentTVertex(long[] tensorShape,
IntegerVertex v)
If all provided parameters are scalar then the proposed shape determines the shape
tensorShape - expected tensor shapev - Degrees of Freedompublic StudentTVertex(long[] tensorShape,
int v)
public StudentTVertex(IntegerVertex v)
public StudentTVertex(int v)
public IntegerVertex getV()
public double logProb(DoubleTensor t)
ProbabilisticlogProb in interface Probabilistic<DoubleTensor>t - The supplied value.public LogProbGraph logProbGraph()
logProbGraph in interface LogProbGraphSupplierpublic java.util.Map<Vertex,DoubleTensor> dLogProb(DoubleTensor t, java.util.Set<? extends Vertex> withRespect)
ProbabilisticdLogProb in interface Probabilistic<DoubleTensor>t - at a given valuewithRespect - list of parents to differentiate with respect topublic DoubleTensor sampleWithShape(long[] shape, KeanuRandom random)
sampleWithShape in interface SamplableWithShape<DoubleTensor>