TDiscreteRecord Record

type TDiscreteRecord = packed record;

Record type used to store parameteres learned for discrete attributes.

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.

Fields

NameTypeDescription
EnabledbooleanTrue, if the attribute is to be included in the classification process.
ExamplesCountintegerNumber of different learn examples included.
MaxValueIndexintegerThe index pointing to the Values array field with the highest value.
ValuesTIntegerArrayEach index of Values array contains the number of occurences of the discrete value of the attribute, associated with this index.
ValuesCountintegerTotal number of different values stored by the Values array.
WeightdoubleThis value is 1 by default. It may be used to emphisize the value of the specific attribute towards the others.