water.fvec
Class SVMLightFVecDataOut

java.lang.Object
  extended by water.Iced
      extended by water.fvec.ParseDataset2.FVecDataOut
          extended by water.fvec.SVMLightFVecDataOut
All Implemented Interfaces:
java.lang.Cloneable, Freezable, CustomParser.DataOut, CustomParser.StreamDataOut

public class SVMLightFVecDataOut
extends ParseDataset2.FVecDataOut


Field Summary
protected  Vec.VectorGroup _vg
           
 
Fields inherited from class water.fvec.ParseDataset2.FVecDataOut
_ctypes, _enums, _nvs, _vecs
 
Constructor Summary
SVMLightFVecDataOut(Vec.VectorGroup vg, int cidx, int ncols, int vecIdStart, Enum[] enums)
           
 
Method Summary
 void addNumCol(int colIdx, long number, int exp)
           
 void newLine()
           
 
Methods inherited from class water.fvec.ParseDataset2.FVecDataOut
addInvalidCol, addNumCol, addStrCol, close, close, closeVecs, closeVecs, invalidLine, invalidValue, isString, linenum, nextChunk, reduce, rollbackLine, setColumnNames
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface water.Freezable
frozenType, newInstance, read, toDocField, write, writeJSONFields
 

Field Detail

_vg

protected final Vec.VectorGroup _vg
Constructor Detail

SVMLightFVecDataOut

public SVMLightFVecDataOut(Vec.VectorGroup vg,
                           int cidx,
                           int ncols,
                           int vecIdStart,
                           Enum[] enums)
Method Detail

addNumCol

public void addNumCol(int colIdx,
                      long number,
                      int exp)
Specified by:
addNumCol in interface CustomParser.DataOut
Overrides:
addNumCol in class ParseDataset2.FVecDataOut

newLine

public void newLine()
Specified by:
newLine in interface CustomParser.DataOut
Overrides:
newLine in class ParseDataset2.FVecDataOut