Use the component to perform classification on the data stored in any TDataset descendant.
The component requires you to connect the appropriate classification component (select the algorithm) and the dataset on which to perform the classification and/or learning. Dataset field layout between the learn and classification run must match.
| Name | Type | Description |
|---|
| Attributes | TFieldColumns | Specifies the attributes used by the classification process. |
| AutoAttributes | boolean | If True, the LearnData will call the FieldsToAttributes method. |
| ClassField | string | Defines the field which is considered to be the Class field. |
| Classifier | TClassifier | Assign the classification component of your choice to this property. |
| Dataset | TDataset | Assign the dataset with data to this property. |
| DataType | TAttributeDataType | Specifies the maping of field types to attribute types. |
| IgnoreFields | TStringList | Defines which fields are to be ignored. |
| IsUpdating | boolean | If this property is True, the component is in the process of reading the records from the Dataset. |
| MissingDiscreteIndex | integer | Specifies discrete value index indicating a missing discrete value. |
| MissingDiscreteValue | string | Specifies value indicating a missing discrete value. |
| OnClassifyDataset | TOnClassifyDataset | Event is called just before the classification test. |
| OnLearnDataset | TOnLearnDataset | Event is called just before the learn operation. |
| Name | Description |
|---|
| Assign | Assign the values of published properties from Source. |
| ClassifyRecord | Classify the current record and return the name of the class. |
| ClassifyTest | Perform classification test. |
| Clear | Clears the list of attributes and all learned data of the attached classifier. |
| Destroy | Destroy the component. |
| DiscreteAttribute | Returns the index in the Attributes list of the discrete attribute stored in the array of discrete attributes at position Index. |
| FieldsToAttributes | Adds an item to Attributes list property for every field in the dataset. |
| FillFieldItems | |
| FloatAttribute | Returns the index in the Attributes list of the real valued attribute stored in the array of real valued attributes at position Index. |
| InitializeAttributes | Uses the field definitions of the dataset and fields defined with Attributes property to set the AttributeKind and AttributeIndex properties. |
| LearnData | Teach the classifier attached to the Classifier property with the data in the dataset. |
| LearnRecord | Teach the classifier attached to the Classifier property with the current record in the dataset. |