Package | Description |
---|---|
org.tribuo.util.infotheory |
This package provides static classes of information theoretic functions.
|
org.tribuo.util.infotheory.impl |
This package provides the implementations and helper classes for the
information theoretic functions in
org.tribuo.util.infotheory . |
Modifier and Type | Method and Description |
---|---|
static <T> Map<T,WeightCountTuple> |
WeightedInformationTheory.calculateWeightedCountDist(ArrayList<T> vector,
ArrayList<Double> weights)
Generate the counts for a single vector.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
WeightedInformationTheory.normaliseWeights(Map<T,WeightCountTuple> map)
Normalizes the weights in the map, i.e., divides each weight by it's count.
|
Modifier and Type | Method and Description |
---|---|
Map<CachedPair<T1,T2>,WeightCountTuple> |
WeightedTripleDistribution.getABCount() |
Map<CachedPair<T1,T3>,WeightCountTuple> |
WeightedTripleDistribution.getACCount() |
Map<T1,WeightCountTuple> |
WeightedTripleDistribution.getACount() |
Map<CachedPair<T2,T3>,WeightCountTuple> |
WeightedTripleDistribution.getBCCount() |
Map<T2,WeightCountTuple> |
WeightedTripleDistribution.getBCount() |
Map<T3,WeightCountTuple> |
WeightedTripleDistribution.getCCount() |
Map<T1,WeightCountTuple> |
WeightedPairDistribution.getFirstCount() |
Map<CachedTriple<T1,T2,T3>,WeightCountTuple> |
WeightedTripleDistribution.getJointCount() |
Map<CachedPair<T1,T2>,WeightCountTuple> |
WeightedPairDistribution.getJointCounts() |
Map<T2,WeightCountTuple> |
WeightedPairDistribution.getSecondCount() |
Modifier and Type | Method and Description |
---|---|
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.
|
static <T1,T2,T3> WeightedTripleDistribution<T1,T2,T3> |
WeightedTripleDistribution.constructFromMap(Map<CachedTriple<T1,T2,T3>,WeightCountTuple> jointCount) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.