Class SVMLightInputFormat
- java.lang.Object
-
- org.datavec.api.formats.input.BaseInputFormat
-
- org.datavec.api.formats.input.impl.SVMLightInputFormat
-
- All Implemented Interfaces:
Serializable,InputFormat,Writable
public class SVMLightInputFormat extends BaseInputFormat
SVMLight input format- Author:
- Adam Gibson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SVMLightInputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordReadercreateReader(InputSplit split)Creates a reader from an input splitRecordReadercreateReader(InputSplit split, Configuration conf)Creates a reader from an input split-
Methods inherited from class org.datavec.api.formats.input.BaseInputFormat
getType, readFields, toDouble, toFloat, toInt, toLong, write, writeType
-
-
-
-
Method Detail
-
createReader
public RecordReader createReader(InputSplit split, Configuration conf) throws IOException, InterruptedException
Description copied from interface:InputFormatCreates a reader from an input split- Parameters:
split- the split to read- Returns:
- the reader from the given input split
- Throws:
IOExceptionInterruptedException
-
createReader
public RecordReader createReader(InputSplit split) throws IOException, InterruptedException
Description copied from interface:InputFormatCreates a reader from an input split- Specified by:
createReaderin interfaceInputFormat- Overrides:
createReaderin classBaseInputFormat- Parameters:
split- the split to read- Returns:
- the reader from the given input split
- Throws:
IOExceptionInterruptedException
-
-