net.sf.classifier4J.demo
Class Trainer
java.lang.Object
|
+--net.sf.classifier4J.demo.Trainer
- public class Trainer
- extends java.lang.Object
- Author:
- Nick Lothian, Peter Leschev
Method Summary |
static void |
main(java.lang.String[] args)
|
static double |
trainClassifier(net.sf.classifier4J.ITokenizer tokenizer,
net.sf.classifier4J.ITrainableClassifier classifier,
boolean isMatch,
java.io.InputStream inputStream)
Given an inputStream of data, a tokenizer this method trains the
specified classifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionString
public static java.lang.String connectionString
username
public static java.lang.String username
password
public static java.lang.String password
Trainer
public Trainer()
trainClassifier
public static double trainClassifier(net.sf.classifier4J.ITokenizer tokenizer,
net.sf.classifier4J.ITrainableClassifier classifier,
boolean isMatch,
java.io.InputStream inputStream)
throws java.io.IOException,
net.sf.classifier4J.ClassifierException
- Given an inputStream of data, a tokenizer this method trains the
specified classifier.
java.io.IOException
net.sf.classifier4J.ClassifierException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
Copyright © 2003-2005 Nick Lothian. All Rights Reserved.