|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.experiments.Tester
public class Tester
Test a classifier, in a number of ways.
Constructor Summary | |
---|---|
Tester()
|
Method Summary | |
---|---|
static double |
errorRate(Classifier c,
Dataset d)
Return the error rate of a classifier on a dataset. |
static Evaluation |
evaluate(ClassifierLearner learner,
Dataset trainData,
Dataset testData)
Do a train and test experiment |
static Evaluation |
evaluate(ClassifierLearner learner,
Dataset d,
Splitter<Example> splitter)
Do some sort of hold-out experiment, as determined by the splitter |
static Evaluation |
evaluate(SemiSupervisedClassifierLearner learner,
SemiSupervisedDataset trainData,
SemiSupervisedDataset testData)
Do a train and test experiment |
static Evaluation |
evaluate(SemiSupervisedClassifierLearner learner,
SemiSupervisedDataset d,
Splitter<Example> splitter)
Do some sort of hold-out experiment, as determined by the splitter |
static Evaluation |
evaluate(SequenceClassifierLearner learner,
SequenceDataset trainData,
SequenceDataset testData)
Do a train and test experiment |
static Evaluation |
evaluate(SequenceClassifierLearner learner,
SequenceDataset d,
Splitter<Example[]> splitter)
Do some sort of hold-out experiment, as determined by the splitter |
static Evaluation |
evaluate(StackedBatchClassifierLearner learner,
RealRelationalDataset d,
Splitter<Example> splitter,
java.lang.String stacked)
Do some sort of hold-out experiment, as determined by the splitter |
static double |
logLoss(BinaryClassifier c,
Dataset d)
Return the average log loss on a dataset. |
static double |
logLoss(BinaryClassifier c,
Example e)
Return the log loss on an example with known true class. |
static MultiEvaluation |
multiEvaluate(ClassifierLearner learner,
MultiDataset d,
Splitter<MultiExample> splitter)
Do some sort of hold-out experiment, as determined by the splitter |
static MultiEvaluation |
multiEvaluate(ClassifierLearner learner,
MultiDataset d,
Splitter<MultiExample> splitter,
boolean cross)
Do some sort of hold-out experiment, as determined by the splitter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tester()
Method Detail |
---|
public static Evaluation evaluate(StackedBatchClassifierLearner learner, RealRelationalDataset d, Splitter<Example> splitter, java.lang.String stacked)
public static Evaluation evaluate(ClassifierLearner learner, Dataset d, Splitter<Example> splitter)
public static MultiEvaluation multiEvaluate(ClassifierLearner learner, MultiDataset d, Splitter<MultiExample> splitter)
public static MultiEvaluation multiEvaluate(ClassifierLearner learner, MultiDataset d, Splitter<MultiExample> splitter, boolean cross)
public static Evaluation evaluate(SequenceClassifierLearner learner, SequenceDataset d, Splitter<Example[]> splitter)
public static Evaluation evaluate(SemiSupervisedClassifierLearner learner, SemiSupervisedDataset d, Splitter<Example> splitter)
public static Evaluation evaluate(ClassifierLearner learner, Dataset trainData, Dataset testData)
public static Evaluation evaluate(SequenceClassifierLearner learner, SequenceDataset trainData, SequenceDataset testData)
public static Evaluation evaluate(SemiSupervisedClassifierLearner learner, SemiSupervisedDataset trainData, SemiSupervisedDataset testData)
public static double logLoss(BinaryClassifier c, Example e)
public static double logLoss(BinaryClassifier c, Dataset d)
public static double errorRate(Classifier c, Dataset d)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |