experiments
Class InternetAds
java.lang.Object
experiments.InternetAds
public class InternetAds
- extends Object
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 |
InternetAds
public InternetAds()
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.