Class LibSvmInputFormat
- java.lang.Object
-
- org.datavec.api.formats.input.BaseInputFormat
-
- org.datavec.api.formats.input.impl.LibSvmInputFormat
-
- All Implemented Interfaces:
Serializable
,InputFormat
,Writable
public class LibSvmInputFormat extends BaseInputFormat
Lib svm input format- Author:
- Adam Gibson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LibSvmInputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordReader
createReader(InputSplit split, Configuration conf)
Creates a reader from an input split-
Methods inherited from class org.datavec.api.formats.input.BaseInputFormat
createReader, 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
-
-