Uses of Class
org.tribuo.util.infotheory.impl.WeightedPairDistribution
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 WeightedPairDistribution in org.tribuo.util.infotheory
Modifier and TypeMethodDescriptionstatic <T1,
T2> double WeightedInformationTheory.mi
(WeightedPairDistribution<T1, T2> jointDist) Calculates the discrete weighted mutual information, using histogram probability estimators. -
Uses of WeightedPairDistribution in org.tribuo.util.infotheory.impl
Modifier and TypeMethodDescriptionstatic <T1,
T2> WeightedPairDistribution<T1, T2> WeightedPairDistribution.constructFromLists
(List<T1> first, List<T2> second, List<Double> weights) Generates the counts for two vectors.static <T1,
T2> WeightedPairDistribution<T1, T2> WeightedPairDistribution.constructFromMap
(Map<CachedPair<T1, T2>, WeightCountTuple> jointCount) Generates a WeightedPairDistribution by generating the marginal distributions for the first and second elements.