I have two data classes that are built in 2D, and I want to build the boundary of the solution of the nearest neighbors for a given value of k.
I understand that there is a similar example provided in the Matlab 'classify' help doc, however I do not see how I can use it in the context of k nearest neighbors.
Thanks,
Josh
I think that since you are in 2D space the easiest way is to make brute force approach, iterate over all (x, y) with a fixed resolution. For each point, they determine their own class (or likelihood) and build the values as the image.
Source: https://habr.com/ru/post/1344495/More articles:WPF User Control ToolTip Using Custom Control Property Value - c #Import Eclipse packages into Maven: how to map versions? - eclipsehttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1344492/wpf-custom-controls-tooltip-multibinding-problem&usg=ALkJrhhJXqEfJJWDu3iJc0LPw-Z5nmgl-AHow to make apk create a file on an SD card when installing apk? - androidApply animateColor to multiple SVG elements - animationImporting dll dll in Delphi 6 loses information - importAccessing C ++ Class Class Data - c ++Consume .NET assembly in Delphi XE2 - .netDisplay image in Image Viewer WP7 - windows-phone-7Separating problems with facebook private - privateAll Articles