Neural Networks  0.0.1
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Instance Class Reference

Public Member Functions

 Instance (ArrayList< Double > attributes, String label)
 

Public Attributes

ArrayList< Double > attributes
 
final String classValue
 

Detailed Description

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

Constructor & Destructor Documentation

Instance.Instance ( ArrayList< Double >  attributes,
String  label 
)
inline

Constructor.

Parameters
attributesvalues of each attributes
labelClassification of this instance

Member Data Documentation

ArrayList<Double> Instance.attributes

values of each attributes

final String Instance.classValue

Label of this instance


The documentation for this class was generated from the following file: