experiments
Class InternetAds

java.lang.Object
  extended by experiments.InternetAds

public class InternetAds
extends Object


Constructor Summary
InternetAds()
           
 
Method Summary
static void main(String[] args)
           
static LinearClassifier trainAdaBoost(int numIters, ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA)
           
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

InternetAds

public InternetAds()
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)

trainAdaBoost

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


Copyright © 2009. All Rights Reserved.