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

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

Introduction

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

The text is from its open source code.

Constructor

NominalPrediction(double actual, double[] distribution, double weight)
Creates the NominalPrediction object.
NominalPrediction(double actual, double[] distribution)
Creates the NominalPrediction object with a default weight of 1.0.

Method

doubleactual()
Gets the actual class value.
doublepredicted()
Gets the predicted class value.