org.jdmp.mallet.matrix
Class Matrix2FeatureVector

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

public class Matrix2FeatureVector
extends cc.mallet.types.FeatureVector

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cc.mallet.types.SparseVector
hasInfinite, indices, values
 
Constructor Summary
Matrix2FeatureVector(Matrix m, cc.mallet.types.Alphabet alphabet, List<Integer> cumSum)
           
 
Method Summary
 
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
 

Constructor Detail

Matrix2FeatureVector

public Matrix2FeatureVector(Matrix m,
                            cc.mallet.types.Alphabet alphabet,
                            List<Integer> cumSum)


Copyright © 2009. All Rights Reserved.