|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.mallet.base.types.SparseVector
edu.umass.cs.mallet.base.types.FeatureVector
edu.umass.cs.mallet.base.types.RankedFeatureVector
edu.umass.cs.mallet.base.types.InfoGain
Nested Class Summary | |
static class |
InfoGain.Factory
|
Nested classes inherited from class edu.umass.cs.mallet.base.types.RankedFeatureVector |
RankedFeatureVector.PerLabelFactory |
Field Summary |
Fields inherited from class edu.umass.cs.mallet.base.types.SparseVector |
hasInfinite, indices, values |
Constructor Summary | |
InfoGain(Alphabet vocab,
double[] infogains)
|
|
InfoGain(InstanceList ilist)
|
Method Summary | |
double |
getBaseEntropy()
|
LabelVector |
getBaseLabelDistribution()
|
Methods inherited from class edu.umass.cs.mallet.base.types.RankedFeatureVector |
getIndexAtRank, getMaxValue, getMaxValuedIndex, getMaxValuedIndexIn, getMaxValuedObject, getMaxValuedObjectIn, getMaxValueIn, getObjectAtRank, getRank, getRank, getValueAtRank, printByRank, printByRank, set, setRankOrder, setRankOrder, setRankOrder |
Methods inherited from class edu.umass.cs.mallet.base.types.FeatureVector |
cloneMatrix, cloneMatrixZeroed, contains, getAlphabet, getObjectIndices, location, toSimpFile, toString, toString, value |
Methods inherited from class edu.umass.cs.mallet.base.types.SparseVector |
absNorm, addTo, addTo, arrayCopyFrom, arrayCopyFrom, arrayCopyInto, dotProduct, dotProduct, dotProduct, dotProduct, extendedDotProduct, extendedDotProduct, getDimensions, getIndices, getNumDimensions, getValues, incrementValue, indexAtLocation, infinityNorm, isBinary, isNaN, location, makeBinary, makeNonBinary, map, numLocations, oneNorm, plusEqualsSparse, plusEqualsSparse, print, removeDuplicates, setAll, setValue, setValueAtLocation, singleIndex, singleSize, singleToIndices, singleValue, sortIndices, timesEquals, timesEqualsSparse, timesEqualsSparse, twoNorm, value, value, valueAtLocation, vectorAdd |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InfoGain(InstanceList ilist)
public InfoGain(Alphabet vocab, double[] infogains)
Method Detail |
public double getBaseEntropy()
public LabelVector getBaseLabelDistribution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |