TNaiveBayes.AttributeCount Property

property AttributeCount: integer read FAttributeCount write SetAttributeCount default 0;

Total number of attributes.

Returns: integer

Remarks:

Attributes in a DB table are usually the columns. Total number of attributes should equal total number of fields in the dataset.