Created
April 1, 2016 13:07
-
-
Save jkugs/be77f1d97b5e6465c779d46fd34ac09a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RecordReader rc = new SVMLightRecordReader(); | |
rc.initialize(conf, new FileSplit(new File("libsvm/part-00000"))); | |
DataSetIterator iter = new RecordReaderDataSetIterator(rc, 100, 0, 2); | |
DataSet next = iter.next(); | |
System.out.println(next); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment