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 <T1,T2> double |
InformationTheory.mi(PairDistribution<T1,T2> pairDist)
Calculates the discrete Shannon mutual information, using histogram
probability estimators.
|
static <T1,T2> double |
WeightedInformationTheory.mi(PairDistribution<T1,T2> pairDist,
Map<?,Double> weights,
WeightedInformationTheory.VariableSelector vs) |
Modifier and Type | Method and Description |
---|---|
static <T1,T2> PairDistribution<T1,T2> |
PairDistribution.constructFromLists(List<T1> first,
List<T2> second)
Generates the counts for two vectors.
|
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) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.