TLinearClassifier.LearnData Method

procedure LearnData;

Call this method to perform the learn operation on the learn data.

Result: stored in self (calling object)

Remarks:

For this method to work, you have to have the following events assigned: OnNameNextRecord, OnIndexNextRecord, OnFirstRecord, OnLastRecord, OnPushPosition, OnPopPosition. The following properties, describing the dataset, have to be set: DiscreteAttributeCount, FloatAttributeCount.