Join the conversation
Done
Reply
Done
Reply
Done
Reply
well explained
Reply
MashaAllah Explained well
Reply
I learned in this lecture with 100% practice.
Reply
I have done this video with 100% practice.
Reply
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
A better understanding of the KNN algorithm through Python coding in this lecture.
Reply