type TBClassesListItem = class(TClassesListItem);
Classification class definition for the Naive Bayes classification algorithm.
Classification class definition for the Naive Bayes classification algorithm.
Methods
| Name | Description |
|---|---|
| Classify | |
| ClassifyDiscrete | |
| ClassifyFloat | |
| Create | |
| Learn | Learn a new record containing both discrete and real attributes. |
| LearnDiscrete | |
| LearnFloat | |
| LoadFromStream | Load the object from the stream. |
| PriorProbability | Compute prior probability after the learning has been completed. |
| Reset | Reset learned data. |
| ResetWeights | Reset the Weight field of every attribute back to one. |
| SaveToStream | Save the object to stream. |
| SoftReset | Resets learned data without reseting weights and excluded attributes. |
Constants
| Name | Type | Description |
|---|---|---|
| DiscreteA | TDiscreteRecordArray | Stores the statistics about the discrete attributes. |
| FloatA | TFloatRecordArray | Stores the statistics about the continuous (real valued) attributes. |