Uses of Class
org.tribuo.util.infotheory.impl.PairDistribution
Packages that use PairDistribution
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 PairDistribution in org.tribuo.util.infotheory
Methods in org.tribuo.util.infotheory with parameters of type PairDistributionModifier and TypeMethodDescriptionstatic <T1,
T2> double InformationTheory.mi
(PairDistribution<T1, T2> pairDist) Calculates the discrete Shannon mutual information, using histogram probability estimators.static <T1,
T2> double WeightedInformationTheory.mi
(PairDistribution<T1, T2> pairDist, Map<?, Double> weights, WeightedInformationTheory.VariableSelector vs) Calculates the discrete weighted mutual information, using histogram probability estimators. -
Uses of PairDistribution in org.tribuo.util.infotheory.impl
Methods in org.tribuo.util.infotheory.impl that return PairDistributionModifier and TypeMethodDescriptionstatic <T1,
T2> PairDistribution<T1, T2> PairDistribution.constructFromLists
(List<T1> first, List<T2> second) Generates the counts for two vectors.static <T1,
T2> PairDistribution<T1, T2> PairDistribution.constructFromMap
(Map<CachedPair<T1, T2>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) Constructs a distribution from a joint count.static <T1,
T2> PairDistribution<T1, T2> PairDistribution.constructFromMap
(Map<CachedPair<T1, T2>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, int aSize, int bSize) Constructs a distribution from a joint count.static <T1,
T2> PairDistribution<T1, T2> PairDistribution.constructFromMap
(Map<CachedPair<T1, T2>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, Map<T1, com.oracle.labs.mlrg.olcut.util.MutableLong> aCount, Map<T2, com.oracle.labs.mlrg.olcut.util.MutableLong> bCount) Constructs a joint distribution from the counts.