Imp
[using it]
Interface Manipulation Package v4.0 (2008-06-25) a-projector ©copyright Author


imp.classifier
Class Classifier.Data.Sample

java.lang.Object
  extended by imp.classifier.Classifier.Data.Sample
Enclosing class:
Classifier.Data

public static class Classifier.Data.Sample
extends Object

Defines a sample of the data set.


Field Summary
 int category
          Sample category index >= 0 or -1 if the category is undefined.
 double[] data
          Sample data vector.
 double prob
          Sample precision probability: 1 for an exact sample, 0 for an undefined sample.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

public int category
Sample category index >= 0 or -1 if the category is undefined.


data

public double[] data
Sample data vector.


prob

public double prob
Sample precision probability: 1 for an exact sample, 0 for an undefined sample.