Record type used to store parameteres learned for discrete attributes.
TDiscreteRecord = packed record Values: TIntegerArray; ValuesCount: integer; ExamplesCount: integer; MaxValueIndex: integer; Weight: double; Enabled: boolean; end;
Members |
Description |
Values |
Each index of Values array contains the number of occurences of the discrete value of the attribute, associated with this index. |
ValuesCount |
Total number of different values stored by the Values array. |
ExamplesCount |
Number of different learn examples included. This does not count the missing values. |
MaxValueIndex |
The index pointing to the Values array field with the highest value. This index therefore also points to the value of the discrete attribute, which occured most often. |
Weight |
This value is 1 by default. It may be used to emphisize the value of the specific attribute towards the others. |
Enabled |
True, if the attribute is to be included in the classification process. |
Stores the parameteres learned about the specific discrete attribute during the learn phase. This includes number of samples encountered. Total examples count, and of course, the statistics about the occuring values.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|