You are here: Symbol Reference > Classifier Namespace > Classes > TKNearestNeighbors Class > TKNearestNeighbors Methods > TKNearestNeighbors.Learn Method
Data Miner
TKNearestNeighbors.Learn Method

Learn a new record belonging to class with ClassName.

procedure Learn(const ClassName: string; const NewDiscreteRecord: array of integer; const NewFloatRecord: array of double); override;

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

Copyright (c) 1999-2017 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!