All Packages Class Hierarchy This Package Previous Next Index
Class jsvm.SvmParser
java.lang.Object
|
+----jsvm.SvmParser
- public class SvmParser
- extends Object
Parses a data file(.ntr) containing multiple sets of training or testing
examples. This file format is more flexible; each example is preceeded
by the classifier name. For instance:
(classifier) (label) (feature):(value) ...
(classifier) (label) (feature):(value) ...
(classifier) (label) (feature):(value) ...
- Version:
- $Id$
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
SvmParser()
-
parse(InputStream)
- Parses a data file containing multiple sets
of training examples.
SvmParser
public SvmParser()
parse
public TrainingSet parse(InputStream in) throws IOException
- Parses a data file containing multiple sets
of training examples. Creates and initializes data
structure in Java.
- Parameters:
- in - The inputstream containing the data to be parsed.
- Returns:
- The data structure containing the data information.
All Packages Class Hierarchy This Package Previous Next Index