public class InfoGain extends RankedFeatureVector
| Modifier and Type | Class and Description |
|---|---|
static class |
InfoGain.Factory |
RankedFeatureVector.PerLabelFactoryhasInfinite, indices, values| Constructor and Description |
|---|
InfoGain(Alphabet vocab,
double[] infogains) |
InfoGain(InstanceList ilist) |
| Modifier and Type | Method and Description |
|---|---|
double |
getBaseEntropy() |
LabelVector |
getBaseLabelDistribution() |
getIndexAtRank, getMaxValue, getMaxValuedIndex, getMaxValuedIndexIn, getMaxValuedObject, getMaxValuedObjectIn, getMaxValueIn, getObjectAtRank, getRank, getRank, getValueAtRank, printByRank, printByRank, set, setRankOrder, setRankOrder, setRankOrdercloneMatrix, cloneMatrixZeroed, contains, getAlphabet, getObjectIndices, location, toSimpFile, toString, toString, valueabsNorm, 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, vectorAddpublic InfoGain(InstanceList ilist)
public InfoGain(Alphabet vocab, double[] infogains)
public double getBaseEntropy()
public LabelVector getBaseLabelDistribution()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.