Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General questions about ILKNearestNeighbor
04-10-2012, 10:44 PM
Post: #1
General questions about ILKNearestNeighbor
Hi,

I started working with the ILKNearestNeighbor unit. I looked at the wiki and I modified the example to learn a little about its functionality.

I have two questions about ILKNearestNeighbor:
Why is the example not working with k < 6?
Is it possible to change the distance function? Found nothing about that in the wiki...
Find all posts by this user
Quote this message in a reply
04-23-2012, 07:25 AM
Post: #2
RE: General questions about ILKNearestNeighbor
Hi Simon,

It works with less than 6, you simply have probably not changed the :

if( AResult.MajorityCount <= 5 ) then

line in the demo. The MajorityCount in that case will be 5 or less :-D .
In the current version, there is no option for custom distance function, I can add it, and send you updated version.

With best regards,
Boian Mitov
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: