TLClassesList Class

TStringListTClassesListTLClassesList

type TLClassesList = class(TClassesList);

Holds a list of classes for the Linear Classifier classification algorithm.

Holds a list of classes for the Linear Classifier 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.
Create
DeleteDelete classification class at Index.
Destroy
DiscreteEntropyReturns the classification accuracy, if only the discrete attribute at position AttributeIndex would be used.
FloatEntropyReturns the classification accuracy, if only the real valued attribute at position AttributeIndex would be used.
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.