ml.knn
ml.knn implements K-nearest-neighbour classification, mapping an input feature vector to output value(s). Add training examples as lists containing a class ID followed by features, then send train before using map; the k message sets how many nearest neighbours are searched during prediction.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forml.liband install it. Then create an object withdeclare -lib ml.lib -path ml.lib. Finally, useml.knnor any other object fromml.lib. - Available for .