TLinearClassifier.LearnIndex Method

procedure LearnIndex(const ClassIndex: integer; const NewDiscreteRecord: array of integer; const NewFloatRecord: array of double); virtual; abstract;

Learn a new record belonging to class with ClassIndex.

#NameTypeDescription
1ClassIndexinteger
2NewDiscreteRecordarray of integer
3NewFloatRecordarray of double

Result: stored in self (calling object)

Remarks:

Teach the classification class with index ClassIndex with a new example defined with values of discrete attributes in NewDiscreteRecord and values of real valued attributes in NewFloatRecord.