Class TripleDistribution<T1,T2,T3>  
java.lang.Object
org.tribuo.util.infotheory.impl.TripleDistribution<T1,T2,T3>  
- Type Parameters:
- T1- Type of the first list.
- T2- Type of the second list.
- T3- Type of the third list.
Generates the counts for a triplet of vectors. Contains the joint
 count, the three pairwise counts, and the three marginal counts.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionTripleDistribution(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) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T1,T2, T3> TripleDistribution <T1, T2, T3> constructFromLists(List<T1> first, List<T2> second, List<T3> third) static <T1,T2, T3> TripleDistribution <T1, T2, T3> constructFromMap(Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) static <T1,T2, T3> TripleDistribution <T1, T2, T3> constructFromMap(Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, int abSize, int acSize, int bcSize, int aSize, int bSize, int cSize) static <T1,T2, T3> TripleDistribution <T1, T2, T3> 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) Map<CachedPair<T1, T2>, com.oracle.labs.mlrg.olcut.util.MutableLong> Map<CachedPair<T1, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> Map<CachedPair<T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> 
- 
Field Details- 
DEFAULT_MAP_SIZEpublic static final int DEFAULT_MAP_SIZE- See Also:
 
- 
countpublic final long count
 
- 
- 
Constructor Details- 
TripleDistributionpublic 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) 
 
- 
- 
Method Details- 
getJointCount
- 
getABCount
- 
getACCount
- 
getBCCount
- 
getACount
- 
getBCount
- 
getCCount
- 
constructFromListspublic static <T1,T2, TripleDistribution<T1,T3> T2, constructFromListsT3> (List<T1> first, List<T2> second, List<T3> third) 
- 
constructFromMappublic static <T1,T2, TripleDistribution<T1,T3> T2, constructFromMapT3> (Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) 
- 
constructFromMappublic static <T1,T2, TripleDistribution<T1,T3> T2, constructFromMapT3> (Map<CachedTriple<T1, T2, T3>, com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, int abSize, int acSize, int bcSize, int aSize, int bSize, int cSize) 
- 
constructFromMappublic static <T1,T2, TripleDistribution<T1,T3> T2, constructFromMapT3> (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) 
 
-