Login
Congrats in choosing to up-skill for your bright career! Please share correct details.
Home / Blog / Data Science Digital Book / K-Nearest Neighbor
Bharani Kumar Depuru is a well known IT personality from Hyderabad. He is the Founder and Director of AiSPRY and 360DigiTMG. Bharani Kumar is an IIT and ISB alumni with more than 18+ years of experience, he held prominent positions in the IT elites like HSBC, ITC Infotech, Infosys, and Deloitte. He is a prevalent IT consultant specializing in Industrial Revolution 4.0 implementation, Data Analytics practice setup, Artificial Intelligence, Big Data Analytics, Industrial IoT, Business Intelligence and Business Management. Bharani Kumar is also the chief trainer at 360DigiTMG with more than Ten years of experience and has been making the IT transition journey easy for his students. 360DigiTMG is at the forefront of delivering quality education, thereby bridging the gap between academia and industry.
KNN is effective in both situations, whether Y is continuous or discrete.
KNN is based on measuring the separation between different locations. Any distance measurement, including the Euclidean distance covered in earlier sections, qualifies as distance.
A better variant of KNN assigns more weights to the neighbours in accordance with how far they are from the query location.
When predicting continuous output, the average of all output values will be used, and when predicting categorical output, the majority count of all output values will be used.
Because it is employed to address the bias-variance tradeoff problem, the choice of the "K" value is crucial.
Outliers have an impact on low 'K' values.
'K' values that are high might add data points from other categories.
Watch Free Videos on Youtube
Click here to learn Data Science Course, Data Science Course in Hyderabad, Data Science Course in Bangalore
360DigiTMG - Data Science, Data Scientist Course Training in Bangalore
No 23, 2nd Floor, 9th Main Rd, 22nd Cross Rd, 7th Sector, HSR Layout, Bengaluru, Karnataka 560102
1800-212-654-321
Didn’t receive OTP? Resend
Let's Connect! Please share your details here