TBClassesList Class

TStringList→TClassesList→TBClassesList

type TBClassesList = class(TClassesList)

Holds a list of classes for Naive Bayes classification algorithm.

Holds a list of classes for Naive Bayes classification algorithm.

Properties

NameTypeDescription
LearnedCasesintegerTotal number of learned cases for all classification classes.
ObjectsTClassesListItemPointer to a list of classification classes.

Methods

NameDescription
AddAdd a new class named ClassName.
ClearDestroy all classes managed by the list.
DeleteDelete classification class at Index.
InsertInsert a new class named ClassName at position Index.
LoadFromStreamLoad the object from the stream.
ResetReset all classes.
ResetWeightsReset the Weight field back to one for every attribute of every classification class.
SaveToStreamSave the object to stream.
SoftResetReset learned data for all classes, but do not change the Weight andEnabled fields.

Constants

NameTypeDescription
DiscreteTDiscreteRecordArray