Java weka.classifiers.evaluation Evaluation fields, constructors, methods, implement or subclass

Example usage for Java weka.classifiers.evaluation Evaluation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.classifiers.evaluation Evaluation.

The text is from its open source code.

Constructor

Evaluation(Instances data)
Initializes all the counters for the evaluation.

Method

voidcrossValidateModel(Classifier classifier, Instances data, int numFolds, Random random)
Performs a (stratified if class is nominal) cross-validation for a classifier on a set of instances.
StringevaluateModel(String classifierString, String[] options)
Evaluates a classifier with the options given in an array of strings.
StringevaluateModel(Classifier classifier, String[] options)
Evaluates a classifier with the options given in an array of strings.
doubleevaluateModelOnceAndRecordPrediction(Classifier classifier, Instance instance)
Evaluates the classifier on a single instance and records the prediction.
doubleevaluateModelOnceAndRecordPrediction(double[] dist, Instance instance)
Evaluates the supplied distribution on a single instance.
doublemeanAbsoluteError()
Returns the mean absolute error.
StringtoClassDetailsString()
Generates a breakdown of the accuracy for each class (with default title), incorporating various information-retrieval statistics, such as true/false positive rate, precision/recall/F-Measure.
StringtoMatrixString(String title)
Outputs the performance statistics as a classification confusion matrix.
StringtoMatrixString()
Calls toMatrixString() with a default title.
StringtoSummaryString(String title, boolean printComplexityStatistics)
Outputs the performance statistics in summary form.
StringtoSummaryString()
Calls toSummaryString() with no title and no complexity stats.