public final class Entropy extends Object
| Modifier and Type | Method and Description | 
|---|---|
static double | 
calculate(CLGaussian joint,
         List<VariableContext> conditionOn,
         LogarithmBase logarithmBase)
Measures the uncertainty of a distribution conditional on one or more variables. 
 | 
static double | 
calculate(CLGaussian joint,
         LogarithmBase logarithmBase)
Measures the uncertainty of a distribution. 
 | 
static double | 
calculate(Distribution joint,
         List<VariableContext> conditionOn,
         LogarithmBase logarithmBase)
Measures the uncertainty of a distribution conditional on one or more variables. 
 | 
static double | 
calculate(Distribution joint,
         LogarithmBase logarithmBase)
Measures the uncertainty of a distribution. 
 | 
static double | 
calculate(Table joint,
         List<VariableContext> conditionOn,
         LogarithmBase logarithmBase)
Measures the uncertainty of a distribution conditional on one or more variables. 
 | 
static double | 
calculate(Table joint,
         LogarithmBase logarithmBase)
Measures the uncertainty of a distribution. 
 | 
public static double calculate(Distribution joint, LogarithmBase logarithmBase)
joint - The marginal or joint distribution.logarithmBase - The logarithm base to use for the calculations.public static double calculate(Distribution joint, List<VariableContext> conditionOn, LogarithmBase logarithmBase)
joint - The marginal or joint distribution.conditionOn - Any conditional variables.  I.e. those on the right hand side of H(Y|X) when calculating conditional entropy.logarithmBase - The logarithm base to use for the calculations.public static double calculate(Table joint, List<VariableContext> conditionOn, LogarithmBase logarithmBase)
joint - The marginal or joint distribution.conditionOn - Any conditional variables.  I.e. those on the right hand side of H(Y|X) when calculating conditional entropy.logarithmBase - The logarithm base to use for the calculations.public static double calculate(Table joint, LogarithmBase logarithmBase)
joint - The marginal or joint distribution.logarithmBase - The logarithm base to use for the calculations.public static double calculate(CLGaussian joint, List<VariableContext> conditionOn, LogarithmBase logarithmBase)
joint - The marginal or joint distribution.conditionOn - Any conditional variables.  I.e. those on the right hand side of H(Y|X) when calculating conditional entropy.logarithmBase - The logarithm base to use for the calculations.public static double calculate(CLGaussian joint, LogarithmBase logarithmBase)
joint - The marginal or joint distribution.logarithmBase - The logarithm base to use for the calculations.Copyright © 2021. All rights reserved.