public class CPTVertex<OUT extends Tensor> extends NonProbabilistic<OUT>
Modifier and Type | Class and Description |
---|---|
static class |
CPTVertex.Condition |
ID_GENERATOR
Constructor and Description |
---|
CPTVertex(java.util.List<Vertex<? extends Tensor<java.lang.Boolean>>> inputs,
java.util.Map<CPTVertex.Condition,Vertex<OUT>> conditions,
Vertex<OUT> defaultResult) |
Modifier and Type | Method and Description |
---|---|
OUT |
getDerivedValue() |
OUT |
sample(KeanuRandom random) |
dLogProb, isProbabilistic, logProb, updateValue
addChild, addParent, addParents, dLogProbAtValue, equals, exploreSetting, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observe, observeOwnValue, sampleUsingDefaultRandom, setAndCascade, setAndCascade, setParents, setParents, setValue, unobserve
public OUT sample(KeanuRandom random)
public OUT getDerivedValue()
getDerivedValue
in class NonProbabilistic<OUT extends Tensor>