experiments
Class Newsgroups

java.lang.Object
  extended by experiments.Newsgroups

public class Newsgroups
extends Object


Constructor Summary
Newsgroups()
           
 
Method Summary
static void main(String[] args)
           
static LinearClassifier trainMaxEnt(ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA)
           
static LinearClassifier trainNaivBayes(ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA)
           
static LinearClassifier trainPerceptron(boolean doAveraging, int numIters, ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Newsgroups

public Newsgroups()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

trainMaxEnt

public static LinearClassifier trainMaxEnt(ArrayList<ClassificationInstance> train,
                                           Alphabet xA,
                                           Alphabet yA)

trainNaivBayes

public static LinearClassifier trainNaivBayes(ArrayList<ClassificationInstance> train,
                                              Alphabet xA,
                                              Alphabet yA)

trainPerceptron

public static LinearClassifier trainPerceptron(boolean doAveraging,
                                               int numIters,
                                               ArrayList<ClassificationInstance> train,
                                               Alphabet xA,
                                               Alphabet yA)


Copyright © 2009. All Rights Reserved.