[go: up one dir, main page]

0% found this document useful (0 votes)
27 views4 pages

Aim: To Implement The KNN Model Using The Scikit Learn Library, Find The Classification For New

Uploaded by

Puneet Purohit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views4 pages

Aim: To Implement The KNN Model Using The Scikit Learn Library, Find The Classification For New

Uploaded by

Puneet Purohit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CSE-4020 Machine Learning Lab

Topic: KNN (K-Nearest Neighbours) Algorithm

Name: Puneet Purohit Slot: L54+L53


Reg No: 20BCE0191 Date: 21/10/21

Aim: To implement the KNN model using the scikit learn library, find the classification for new
instance and calculating the accuracy of the algorithm.
Code:
Implementation of KNN model using scikit
Conclusion: The KNN model is successfully implemented using the KNN classifier from the scikit
learn library, for K=5 our model gives approximately 70% accuracy.

You might also like