Uses of Class
org.tribuo.util.infotheory.impl.TripleDistribution
Package
Description
This package provides static classes of information theoretic functions.
This package provides the implementations and helper classes for the
information theoretic functions in
org.tribuo.util.infotheory
.-
Uses of TripleDistribution in org.tribuo.util.infotheory
Modifier and TypeMethodDescriptionstatic <T1,
T2, T3> double InformationTheory.conditionalMI
(TripleDistribution<T1, T2, T3> rv) Calculates the discrete Shannon conditional mutual information, using histogram probability estimators.static <T1,
T2, T3> double WeightedInformationTheory.conditionalMI
(TripleDistribution<T1, T2, T3> rv, Map<?, Double> weights, WeightedInformationTheory.VariableSelector vs) Calculates the discrete weighted conditional mutual information, using histogram probability estimators.static <T1,
T2, T3> double InformationTheory.conditionalMIFlipped
(TripleDistribution<T1, T2, T3> rv) Calculates the discrete Shannon conditional mutual information, using histogram probability estimators.static <T1,
T2, T3> double InformationTheory.jointMI
(TripleDistribution<T1, T2, T3> rv) Calculates the discrete Shannon joint mutual information, using histogram probability estimators.static <T1,
T2, T3> double WeightedInformationTheory.jointMI
(TripleDistribution<T1, T2, T3> rv, Map<?, Double> weights, WeightedInformationTheory.VariableSelector vs) Calculates the discrete weighted joint mutual information, using histogram probability estimators. -
Uses of TripleDistribution in org.tribuo.util.infotheory.impl
Modifier and TypeMethodDescriptionstatic <T1,
T2, T3> TripleDistribution<T1, T2, T3> TripleDistribution.constructFromLists
(List<T1> first, List<T2> second, List<T3> third) Constructs a TripleDistribution from three lists of the same length.static <T1,
T2, T3> TripleDistribution<T1, T2, T3> TripleDistribution.constructFromMap
(Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) Constructs a TripleDistribution by marginalising the supplied joint distribution.static <T1,
T2, T3> TripleDistribution<T1, T2, T3> TripleDistribution.constructFromMap
(Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, int abSize, int acSize, int bcSize, int aSize, int bSize, int cSize) Constructs a TripleDistribution by marginalising the supplied joint distribution.static <T1,
T2, T3> TripleDistribution<T1, T2, T3> TripleDistribution.constructFromMap
(Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, Map<CachedPair<T1, T2>, com.oracle.labs.mlrg.olcut.util.MutableLong> abCount, Map<CachedPair<T1, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> acCount, Map<CachedPair<T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> bcCount, Map<T1, com.oracle.labs.mlrg.olcut.util.MutableLong> aCount, Map<T2, com.oracle.labs.mlrg.olcut.util.MutableLong> bCount, Map<T3, com.oracle.labs.mlrg.olcut.util.MutableLong> cCount) Constructs a TripleDistribution by marginalising the supplied joint distribution.