All Packages Class Hierarchy This Package Previous Next Index
Class jsvm.TestCaseParser
java.lang.Object
|
+----jsvm.TestCaseParser
- public class TestCaseParser
- extends Object
Parses a data file(.tst) containing test examples. Each test example
contains a list of feature/value pairs. For instance:
(feature:value)...
(feature:value)...
(feature:value)...
The accuracy of SVM classification will not be calculated, because
label information is not provided.
- Version:
- $Id$
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
TestCaseParser()
-
parse(InputStream)
- Parses data file containing test examples.
TestCaseParser
public TestCaseParser()
parse
public Vector parse(InputStream in) throws IOException
- Parses data file containing test examples.
Creates and initializes data structure in Java.
- Parameters:
- in - The inputstream containing the data to be parsed.
- Returns:
- A vector containing feature sets.
All Packages Class Hierarchy This Package Previous Next Index