Package | Description |
---|---|
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 | Field and Description |
---|---|
Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
PairDistribution.jointCounts |
Modifier and Type | Method and Description |
---|---|
CachedPair<T1,T2> |
CachedTriple.getAB() |
CachedPair<T1,T3> |
CachedTriple.getAC() |
CachedPair<T2,T3> |
CachedTriple.getBC() |
Modifier and Type | Method and Description |
---|---|
Map<CachedPair<T1,T2>,WeightCountTuple> |
WeightedTripleDistribution.getABCount() |
Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
TripleDistribution.getABCount() |
Map<CachedPair<T1,T3>,WeightCountTuple> |
WeightedTripleDistribution.getACCount() |
Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
TripleDistribution.getACCount() |
Map<CachedPair<T2,T3>,WeightCountTuple> |
WeightedTripleDistribution.getBCCount() |
Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
TripleDistribution.getBCCount() |
Map<CachedPair<T1,T2>,WeightCountTuple> |
WeightedPairDistribution.getJointCounts() |
static <T1,T2> ArrayList<CachedPair<T1,T2>> |
CachedPair.zipArraysCached(ArrayList<T1> first,
ArrayList<T2> second)
Takes two arrays and zips them together into an array of CachedPairs.
|
Modifier and Type | Method and Description |
---|---|
static <T1,T2> PairDistribution<T1,T2> |
PairDistribution.constructFromMap(Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) |
static <T1,T2> PairDistribution<T1,T2> |
PairDistribution.constructFromMap(Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount,
int aSize,
int bSize) |
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) |
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> 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) |
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) |
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) |
Constructor and Description |
---|
PairDistribution(long count,
LinkedHashMap<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCounts,
LinkedHashMap<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> firstCount,
LinkedHashMap<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> secondCount) |
PairDistribution(long count,
Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCounts,
Map<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> firstCount,
Map<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> secondCount) |
TripleDistribution(long count,
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) |
TripleDistribution(long count,
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) |
TripleDistribution(long count,
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) |
WeightedPairDistribution(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) |
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) |
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) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.