Class LibSvmRecordReader
- java.lang.Object
-
- org.datavec.api.records.reader.BaseRecordReader
-
- org.datavec.api.records.reader.impl.LineRecordReader
-
- org.datavec.api.records.reader.impl.misc.SVMLightRecordReader
-
- org.datavec.api.records.reader.impl.misc.LibSvmRecordReader
-
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,Configurable
,RecordReader
public class LibSvmRecordReader extends SVMLightRecordReader
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datavec.api.records.reader.impl.misc.SVMLightRecordReader
ALLOWED_DELIMITERS, appendLabel, COMMENT_CHAR, FEATURE_DELIMITER, LABEL_DELIMITER, LABEL_ONE, LABEL_ZERO, multilabel, MULTILABEL, NAME_SPACE, NUM_ATTRIBUTES, NUM_FEATURES, NUM_LABELS, numFeatures, numLabels, ONE, PREFERRED_DELIMITER, QID_PREFIX, recordLookahead, ZERO, ZERO_BASED_INDEXING, ZERO_BASED_LABEL_INDEXING, zeroBasedIndexing, zeroBasedLabelIndexing
-
Fields inherited from class org.datavec.api.records.reader.impl.LineRecordReader
charset, conf, initialized, lineIndex, locations, splitIndex
-
Fields inherited from class org.datavec.api.records.reader.BaseRecordReader
inputSplit, listeners, streamCreatorFn
-
Fields inherited from interface org.datavec.api.records.reader.RecordReader
APPEND_LABEL, LABELS
-
-
Constructor Summary
Constructors Constructor Description LibSvmRecordReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setConf(Configuration conf)
Set configuration.-
Methods inherited from class org.datavec.api.records.reader.impl.misc.SVMLightRecordReader
getNextRecord, hasNext, initialize, next, nextRecord, onLocationOpen, record, reset
-
Methods inherited from class org.datavec.api.records.reader.impl.LineRecordReader
close, closeIfRequired, getConf, getIterator, getLabels, initialize, loadFromMetaData, loadFromMetaData, resetSupported
-
Methods inherited from class org.datavec.api.records.reader.BaseRecordReader
batchesSupported, getListeners, invokeListeners, next, setListeners, setListeners
-
-
-
-
Method Detail
-
setConf
public void setConf(Configuration conf)
Description copied from class:SVMLightRecordReader
Set configuration.- Specified by:
setConf
in interfaceConfigurable
- Overrides:
setConf
in classSVMLightRecordReader
- Parameters:
conf
- DataVec configuration
-
-