Join the conversation
![](https://codanics.com/wp-content/uploads/2024/04/IMG_20240410_175137-1-scaled.jpg)
Done
Reply
![](https://codanics.com/wp-content/uploads/2024/04/IMG_16954467347071342.jpg)
Done
Reply
![](https://codanics.com/wp-content/uploads/2024/04/IMG_16954467347071342.jpg)
Done
Reply
![](https://codanics.com/wp-content/uploads/2023/11/d8065b95-b8d4-45a2-a9d5-477e92b75ed5.jpeg)
well explained
Reply
MashaAllah Explained well
Reply
![](https://codanics.com/wp-content/uploads/2024/05/My_profile_pic.jpg)
I learned in this lecture with 100% practice.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/e24e3cc0-f9cd-49cc-9e5e-e7fea619bd42.jpg)
I have done this video with 100% practice.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/9dd24f5a-b137-440a-baba-1855925152a0.jpg)
And I also learned ML algorithm of K-Nearest Neighbors ( KNN ) in PythonSteps of K-Nearest Neighbors ( KNN ) and Example of KNN Classifier on IRIS data Set1-Import libraries
2-Load the data set of IRIS
3-Split the data in X and y
4-Train test split the data
5-Fit the model on training data
6-Predict the species for the test data
7-Evaluate the model
8-plot the confusion matrix
9-Save the model
10-Load the modelAnd the Steps of K-Nearest Neighbors ( KNN ) and Example of KNN Regression on the TIPS data set1-Load the data set
2-Split the data into X and y
3-Encode the categorical columns using for lopp and le
4-Train test: split the data and run the model
5-Fit the model to the training data
6-Predict the model
7-Evaluate the model
8-Predict the specific valueALLAH PAK aap ko sahat o aafiat wali lambi umar ata kray aor ap ko dono jahan ki bhalian naseeb farmaey,Ameen.
Reply
![](https://codanics.com/wp-content/uploads/2024/02/2.jpg)
A better understanding of the KNN algorithm through Python coding in this lecture.
Reply