1. Solved Numerical Example of KNN Classifier to classify New Instance IRIS Example by Mahesh Huddar
Vložit
- čas přidán 27. 08. 2024
- 1. Solved Numerical Example of KNN (K Nearest Neighbor Algorithm) Classifier to classify New Instance IRIS Example by Mahesh Huddar
1. Solved Numerical Example of KNN: • 1. Solved Numerical Ex...
2. Solved Numerical Example of KNN: • 2. Solved Example KNN ...
Tutorials:
Machine Learning - • Machine Learning
Big Data Analysis - • Big Data Analytics
Data Science and Machine Learning - • Machine Learning
Python Tutorial - • Python Application Pro...
Most simple and clear explanation so far
Very true
Rank 3 is 0.60
sir, your explanation is very clear and simple. Thank you so much.❣
Welcome
Do like share and subscribe
Your explanation is Bomb (Even during MS it is helpful)
Thank You
Do like share and subscribe
Sir,your explanation is perfect. we understood it very clearly. Thank you so much sir!
Welcome
Do like share and subscribe
Thanx for the explanation. What if k is not given. We should find the best K for our model. What should we do them. Greetings from Germany 🇩🇪
super i saw lot video but not understand this much when seen ur video i clear concept very clearrr tqquuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu soooooooo muuucccccchhhhhhhhhhhhhhhhhhhhhh broooooo
Welcome
Do like share and subscribe
Yes sir, neatly and clearly understood sir
Do like share and subscribe
Nice explanation, sir plz make a video and explain numerical example on Adaboost and Xgboost.
you saved my grade
Do like share and subscribe
Bro your videos saved me in final exam
Thanks
Welcome
Do like share and subscribe
@@MaheshHuddar i did, thanks for your videos
In which university you are studying.?
Sir your explanation is very good
🤗❣️so can you plz provide notes to us becoz it's could be save more time instead of writing in our notes 📝 I hope you understand
Thank you very much again sir for helping the student to get good marks ❣️🤗
Sir what if any two three distance are same .. how to calculate the rank
thanks, helped me a lot in my today final exam.
Welcome
Do like share and subscribe
Thank you so much 🙏 its so helpful to me 😊
Most welcome
Do like share and subscribe to
Very helpfull👍
Thank You
Do like share and subscribe
Thanks a lot sir. Jai Hind.
Welcome
Do like share and subscribe
thank you :)
Thank you so much dear sir.
Welcome
Do like share and subscribe
sir what if the distance between them are same values for 3 numbers how we have to give the rank to them
I to have the same doubt if you found explain
@@rahulroyal8321simply use other distance formula rather than using euclediansdistance formula
4:07 given the Value of GA
😂
What if there are more than two attributes? How would we determine which attributes to take while finding the Euclidean distance?
Did you find the answer?
thank you sir
Welcome
Do like share and subscribe
13 th sample distance is 0.608 . So first and 13 th sample same distance. How to rank it?
It is an ascending order
Wht will we take?
sir what if the target value is something like weight where all values are different so after euclidean dist. how can we compare the nearest values because all are different
Watch this video
Here I have addressed both discrete and continuous valued Target function:
czcams.com/video/w6hQ3ES6Kbg/video.html
how did you the this new example 5.2 and 3.1 because i have checked the table is not there ?
That is just a scenario. Just imagine a guy wants to find the nearest neighbor with his data sepal length 5.2 and sepal width 3.1. You can make up anything yourself
Sir I have one doubt ... I get first five rank sample if in which two are belong setosa and another two are getting virginica where one more different
In which case what is choose sir
That is an ambiguous state
In such case you need increase the value of k and then make a dicision
Thanks 😀
Welcome
Do like share and subscribe
this dataset is quite lengthy for this sort of problem!
nice video
Thanks
Do like sahre and subscribe
What if the value of k is 4, do we have to check all the rank before 4 or simply the 4th value
first 4 ranks, most occuring species is your result
@@schnitzel_enjoyer what if we r at 4 and 2 have same no. Of iterations
What of k is not given then what do we do?
can I get numpy python implementation code for this problem??
what if k is 3 and all 3 are different
That will be an ambiguous state
Either you need to go with distance weighted KNN or Increase the value of K
Nice
Thank You
Do like share and subscribe
How to find k value if not given
K is usually the square root of the total number of samples given.
Otherwise we usually take K as 3.
Can you make vedio of air quality prediction by weka tool
If value of K is not mention in this case so what value we take as a K ?
K=sqrt(number of neighbors)
+-1 to K if K is even, make it odd to prevent any ties
Sir what to do if k value is not given
Assume the value of k, preferebly odd number and solve
@@MaheshHuddar Thanks Sir
How we can find rank
I dont understand that..how can we find the column of rank.?
The most nearest neighbour is given rank one, next rank 2 and so on
@@MaheshHuddar thank u sir
From where we get value of K?
k will be given in the question itself.
if we have more than two parameter? then..
We need to apply the same approach...
If you have a problem definition, send I will solve it
@@MaheshHuddar consider same example dataset with all its parameters.
Cooooool
Thank You
Do like share and subscribe
(10 points) John has the following dataset:
Class x1 x2
A¨ 0 0
A 1 0
A 0 1
B 1 1
B 2 2
B 2 0
He is studying machine learning and encountered some questions which he is unable to
solve. Help him solve the following questions.
1. (2 points) Are the points linearly separable? Support your answer by plotting the
points.
2. (3 points) Find out the weight vector corresponding to the maximum margin hy-
perplane. Also find the support vectors present.
3. (2 points) What is the effect on the optimal margin if we remove any one of the
support vectors in this question?
4. (3 points) In general, for any dataset, what can we say about the effect on optimal
margin, if we remove any of the support vectors
Sir Plz tel how to do ths
can I get numpy python implementation code for this problem??
Hiiiiii....
czcams.com/video/Vk9lGGODaJA/video.html how did we get it here ? how did we decide
🌚🌚🌚🌚
Very helpfull👍
Thank You
Do like share and subscribe