Uses of Class
org.tribuo.util.infotheory.impl.WeightCountTuple
Packages that use WeightCountTuple
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 WeightCountTuple in org.tribuo.util.infotheory
Methods in org.tribuo.util.infotheory that return types with arguments of type WeightCountTupleModifier and TypeMethodDescriptionstatic <T> Map
<T, WeightCountTuple> WeightedInformationTheory.calculateWeightedCountDist
(ArrayList<T> vector, ArrayList<Double> weights) Generate the counts for a single vector.Method parameters in org.tribuo.util.infotheory with type arguments of type WeightCountTupleModifier and TypeMethodDescriptionstatic <T> void
WeightedInformationTheory.normaliseWeights
(Map<T, WeightCountTuple> map) Normalizes the weights in the map, i.e., divides each weight by it's count. -
Uses of WeightCountTuple in org.tribuo.util.infotheory.impl
Methods in org.tribuo.util.infotheory.impl that return types with arguments of type WeightCountTupleModifier and TypeMethodDescriptionWeightedTripleDistribution.getABCount()
WeightedTripleDistribution.getACCount()
WeightedTripleDistribution.getACount()
WeightedTripleDistribution.getBCCount()
WeightedTripleDistribution.getBCount()
WeightedTripleDistribution.getCCount()
WeightedPairDistribution.getFirstCount()
WeightedTripleDistribution.getJointCount()
WeightedPairDistribution.getJointCounts()
WeightedPairDistribution.getSecondCount()
Method parameters in org.tribuo.util.infotheory.impl with type arguments of type WeightCountTupleModifier and TypeMethodDescriptionstatic <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.static <T1,
T2, T3> WeightedTripleDistribution <T1, T2, T3> WeightedTripleDistribution.constructFromMap
(Map<CachedTriple<T1, T2, T3>, WeightCountTuple> jointCount) Constructor parameters in org.tribuo.util.infotheory.impl with type arguments of type WeightCountTupleModifierConstructorDescriptionWeightedPairDistribution
(long count, LinkedHashMap<CachedPair<T1, T2>, WeightCountTuple> jointCounts, LinkedHashMap<T1, WeightCountTuple> firstCount, LinkedHashMap<T2, WeightCountTuple> secondCount) WeightedPairDistribution
(long count, Map<CachedPair<T1, T2>, WeightCountTuple> jointCounts, Map<T1, WeightCountTuple> firstCount, Map<T2, WeightCountTuple> secondCount) WeightedTripleDistribution
(long count, Map<CachedTriple<T1, T2, T3>, WeightCountTuple> jointCount, Map<CachedPair<T1, T2>, WeightCountTuple> abCount, Map<CachedPair<T1, T3>, WeightCountTuple> acCount, Map<CachedPair<T2, T3>, WeightCountTuple> bcCount, Map<T1, WeightCountTuple> aCount, Map<T2, WeightCountTuple> bCount, Map<T3, WeightCountTuple> cCount)