org.jdmp.mallet.matrix
Class Matrix2LabelVector

java.lang.Object
  extended by cc.mallet.types.SparseVector
      extended by cc.mallet.types.FeatureVector
          extended by cc.mallet.types.RankedFeatureVector
              extended by cc.mallet.types.LabelVector
                  extended by org.jdmp.mallet.matrix.Matrix2LabelVector
All Implemented Interfaces:
cc.mallet.types.AlphabetCarrying, cc.mallet.types.ConstantMatrix, cc.mallet.types.Labeling, cc.mallet.types.Vector, Serializable

public class Matrix2LabelVector
extends cc.mallet.types.LabelVector

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class cc.mallet.types.RankedFeatureVector
cc.mallet.types.RankedFeatureVector.Factory, cc.mallet.types.RankedFeatureVector.PerLabelFactory
 
Field Summary
 
Fields inherited from class cc.mallet.types.SparseVector
hasInfinite, indices, values
 
Constructor Summary
Matrix2LabelVector(Matrix m, cc.mallet.types.LabelAlphabet alphabet)
           
 
Method Summary
 
Methods inherited from class cc.mallet.types.LabelVector
getBestIndex, getBestLabel, getBestValue, getLabelAlphabet, getLabelAtRank, getRank, getRank, getValueAtRank, labelAtLocation, toLabelVector, value
 
Methods inherited from class cc.mallet.types.RankedFeatureVector
getIndexAtRank, getMaxValue, getMaxValuedIndex, getMaxValuedIndexIn, getMaxValuedObject, getMaxValuedObjectIn, getMaxValueIn, getObjectAtRank, getRank, printByRank, printByRank, printLowerK, printTopK, set, setRankOrder, setRankOrder, setRankOrder, setReverseRankOrder
 
Methods inherited from class cc.mallet.types.FeatureVector
alphabetsMatch, cloneMatrix, cloneMatrixZeroed, contains, getAlphabet, getAlphabets, getObjectIndices, location, newFeatureVector, toSimpFile, toString, toString, value
 
Methods inherited from class cc.mallet.types.SparseVector
absNorm, addTo, addTo, arrayCopyFrom, arrayCopyFrom, arrayCopyInto, dotProduct, dotProduct, dotProduct, dotProduct, extendedDotProduct, extendedDotProduct, getDimensions, getIndices, getNumDimensions, getValues, incrementValue, indexAtLocation, infinityNorm, isBinary, isInfinite, isNaN, isNaNOrInfinite, location, makeBinary, makeNonBinary, map, numLocations, oneNorm, plusEqualsSparse, plusEqualsSparse, print, removeDuplicates, setAll, setValue, setValueAtLocation, singleIndex, singleSize, singleToIndices, singleValue, sortIndices, timesEquals, timesEqualsSparse, timesEqualsSparse, timesEqualsSparseZero, twoNorm, value, value, valueAtLocation, vectorAdd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cc.mallet.types.Labeling
addTo, addTo, indexAtLocation, numLocations, value, valueAtLocation
 
Methods inherited from interface cc.mallet.types.AlphabetCarrying
getAlphabet, getAlphabets
 

Constructor Detail

Matrix2LabelVector

public Matrix2LabelVector(Matrix m,
                          cc.mallet.types.LabelAlphabet alphabet)


Copyright © 2009. All Rights Reserved.