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
| Name | Type | Description |
|---|---|---|
| LearnedCases | integer | Total number of learned cases for all classification classes. |
| Objects | TClassesListItem | Pointer to a list of classification classes. |
Methods
| Name | Description |
|---|---|
| Add | Add a new class named ClassName. |
| Clear | Destroy all classes managed by the list. |
| Create | |
| Delete | Delete classification class at Index. |
| Destroy | |
| DiscreteEntropy | Returns the classification accuracy, if only the discrete attribute at position AttributeIndex would be used. |
| FloatEntropy | Returns the classification accuracy, if only the real valued attribute at position AttributeIndex would be used. |
| Insert | Insert a new class named ClassName at position Index. |
| LoadFromStream | Load the object from the stream. |
| Reset | Reset all classes. |
| ResetWeights | Reset the Weight field back to one for every attribute of every classification class. |
| SaveToStream | Save the object to stream. |
| SoftReset | Reset learned data for all classes, but do not change the Weight andEnabled fields. |