Public Member Functions | |
Instance (ArrayList< Double > attributes, String label) | |
Public Attributes | |
ArrayList< Double > | attributes |
final String | classValue |
Public Class of Bayes Network instance. Two fields: ArrayList<Double> attributes String label
This class is not meant to be used alone, since the attributes stores only the value of each attributes, without the name of attributes. This class is used in Class DataSet, where DataSet.attrs defines the name and order of the attributes field in the Instances object.
All fields are public
|
inline |
Constructor.
attributes | values of each attributes |
label | Classification of this instance |
ArrayList<Double> Instance.attributes |
values of each attributes
final String Instance.classValue |
Label of this instance