File:KNN decision surface animation.gif
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
![File:KNN decision surface animation.gif](https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/KNN_decision_surface_animation.gif/800px-KNN_decision_surface_animation.gif?20240718130312)
Size of this preview: 800 × 400 pixels. Other resolutions: 320 × 160 pixels | 640 × 320 pixels.
Original file (1,200 × 600 pixels, file size: 736 KB, MIME type: image/gif, looped, 100 frames, 10 s)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
[edit]DescriptionKNN decision surface animation.gif |
English: Application of a 𝑘 NN classifier considering 𝑘=3 neighbors. Left - Given the test point "? ", the algorithm seeks the 3 closest points in the train set, and adopts the majority vote to classify it as "class red". Right - By iteratively repeating the prediction over the whole feature space (X1, X2 ), one can depict the "decision surface". |
Date | |
Source | Own work |
Author | Paolo Bonfini |
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
![]() |
This media file is uncategorized.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with {{subst:Please link images|File:KNN decision surface animation.gif}} ~~~~ |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:03, 18 July 2024 | ![]() | 1,200 × 600 (736 KB) | Peblo Peblo (talk | contribs) | Corrected title |
12:45, 18 July 2024 | ![]() | 1,200 × 600 (768 KB) | Peblo Peblo (talk | contribs) | Uploaded while editing "K-nearest neighbors algorithm" on en.wikipedia.org |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org