k-nearest neighbors w/ Python (Prototype Project 01)

710 views · Published 12 August 2018 · 10:37 · Indexed 25 October 2026

Channel: Prototype Project · 2018 · Education

Watch on YouTube

► get access to members-only video contents + support: 
        https://www.youtube.com/channel/UCUvwlMMaeppKPdtAK8PxO8Q/join
► download ai source code @ https://sites.fastspring.com/prototypeprj/instant/ai
► download crypto source code @ https://sites.fastspring.com/prototypeprj/instant/crypto
►JAVA version @ https://youtu.be/8U7h3ZRtE7Q

00:05 demo a prebuilt version of the application
01:00 min-max normalization
02:25 3 Nearest Neighbors euclidean distance calculation
03:24 code the application
03:33 go over training data used in this application
04:14 KNearestNeighbor class
05:00 min-max normalization code
05:30 euclidean distance calculation code
06:15 Sentiment classification prediction code
07:00 DisplayHelper class
08:00 handle command line entry code
08:19 test run completed application 
09:20 use 3 nearest neighbors
09:35 normalize inputs and calculate euclidean distance
09:52 use 5 nearest neighbors

More from this channel