cc.mallet.types
Class PerLabelInfoGain

java.lang.Object
  extended by cc.mallet.types.PerLabelInfoGain

public class PerLabelInfoGain
extends java.lang.Object


Nested Class Summary
static class PerLabelInfoGain.Factory
           
 
Constructor Summary
PerLabelInfoGain(InstanceList ilist)
           
 
Method Summary
static double[][] calcPerLabelInfoGains(InstanceList ilist)
           
 InfoGain getInfoGain(int classIndex)
           
 int getNumClasses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerLabelInfoGain

public PerLabelInfoGain(InstanceList ilist)
Method Detail

getInfoGain

public InfoGain getInfoGain(int classIndex)

getNumClasses

public int getNumClasses()

calcPerLabelInfoGains

public static double[][] calcPerLabelInfoGains(InstanceList ilist)