How do I draw a decision boundary?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Let's say I have two classes of points where class 1 has points (0, 1), (2, 3), (4, 4) and class 2 has points (2, 0), (5, 2), (6, 3), how would I go about plotting these with a k-nearest-neighbor decision boundary with k=1? I'd also like to use Euclidean distance as my metric.
Thanks!
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Voronoi Diagram finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!