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 RecordReader
createReader(InputSplit split)
Creates a reader from an input splitRecordReader
createReader(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:InputFormat
Creates a reader from an input split- Parameters:
split
- the split to read- Returns:
- the reader from the given input split
- Throws:
IOException
InterruptedException
-
createReader
public RecordReader createReader(InputSplit split) throws IOException, InterruptedException
Description copied from interface:InputFormat
Creates a reader from an input split- Specified by:
createReader
in interfaceInputFormat
- Overrides:
createReader
in classBaseInputFormat
- Parameters:
split
- the split to read- Returns:
- the reader from the given input split
- Throws:
IOException
InterruptedException
-
-