public class SVMLightFVecDataOut extends ParseDataset2.FVecDataOut
Modifier and Type | Field and Description |
---|---|
protected Vec.VectorGroup |
_vg |
_ctypes, _nvs, _vecs
Constructor and Description |
---|
SVMLightFVecDataOut(Vec.VectorGroup vg,
int cidx,
int ncols,
int vecIdStart,
Enum[] enums) |
Modifier and Type | Method and Description |
---|---|
void |
addNumCol(int colIdx,
long number,
int exp) |
void |
newLine() |
addInvalidCol, addNumCol, addStrCol, check, close, close, invalidLine, invalidValue, isString, linenum, nextChunk, reduce, rollbackLine, setColumnNames
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
frozenType, newInstance, read, toDocField, write, writeJSONFields
protected final Vec.VectorGroup _vg
public SVMLightFVecDataOut(Vec.VectorGroup vg, int cidx, int ncols, int vecIdStart, Enum[] enums)
public void addNumCol(int colIdx, long number, int exp)
addNumCol
in interface CustomParser.DataOut
addNumCol
in class ParseDataset2.FVecDataOut
public void newLine()
newLine
in interface CustomParser.DataOut
newLine
in class ParseDataset2.FVecDataOut