edu.iastate.jtm.util
Class InfoTheory
java.lang.Object
edu.iastate.jtm.util.InfoTheory
public class InfoTheory
- extends java.lang.Object
Calculate entropy, mutual information, ...
- Author:
- Jing Ding
edu.iastate.jtm.util
jtm
|
Method Summary |
static double |
entropy(double[] freq,
boolean rel)
|
static double |
entropy(double[] freq,
int offset,
int length,
boolean rel)
|
static double |
entropy(int[] counts,
boolean rel)
|
static double |
entropy(int[] counts,
int offset,
int length,
boolean rel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfoTheory
public InfoTheory()
entropy
public static double entropy(int[] counts,
int offset,
int length,
boolean rel)
entropy
public static double entropy(int[] counts,
boolean rel)
entropy
public static double entropy(double[] freq,
int offset,
int length,
boolean rel)
entropy
public static double entropy(double[] freq,
boolean rel)