Package | Description |
---|---|
org.tribuo.util.infotheory.example |
This package provides demos for the information theoretic function
classes in
org.tribuo.util.infotheory . |
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 CachedTriple<List<Integer>,List<Integer>,List<Integer>> |
InformationTheoryDemo.generateCorrelated(int length,
int alphabetSize,
double xyCorrelation,
double xzCorrelation)
These correlations don't map to mutual information values, as if xyDraw is above xyCorrelation then the draw is completely random.
|
static CachedTriple<List<Integer>,List<Integer>,List<Integer>> |
InformationTheoryDemo.generateXOR(int length)
Generates a sample from a three variable XOR function.
|
Modifier and Type | Method and Description |
---|---|
Map<CachedTriple<T1,T2,T3>,WeightCountTuple> |
WeightedTripleDistribution.getJointCount() |
Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
TripleDistribution.getJointCount() |
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3> TripleDistribution<T1,T2,T3> |
TripleDistribution.constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) |
static <T1,T2,T3> TripleDistribution<T1,T2,T3> |
TripleDistribution.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> |
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> WeightedTripleDistribution<T1,T2,T3> |
WeightedTripleDistribution.constructFromMap(Map<CachedTriple<T1,T2,T3>,WeightCountTuple> jointCount) |
Constructor and Description |
---|
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) |
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.