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

Field Summary
static java.lang.String connectionString
           
static java.lang.String password
           
static java.lang.String username
           
 
Constructor Summary
Trainer()
           
 
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
 

Field Detail

connectionString

public static java.lang.String connectionString

username

public static java.lang.String username

password

public static java.lang.String password
Constructor Detail

Trainer

public Trainer()
Method Detail

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.