Naive Bayes  0.0.1
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Instance Class Reference

Public Member Functions

 Instance (String[] attributes, String label)
 

Public Attributes

String[] attributes
 
final String label
 

Detailed Description

Public Class of Bayes Network instance. Two fields: String[] 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 ( String[]  attributes,
String  label 
)
inline

Constructor.

Parameters
labelClassification of this instance
attributesvalues of each attributes

Member Data Documentation

String [] Instance.attributes

values of each attributes

final String Instance.label

Label of this instance


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