2. 0
10
20
30
40
50
60
0 10 20 30 40 50 60 70
Age
Exercise Time in Minutes
‘n_neighbors’ argument will help
to decide number of neighbors.
Better to choose odd number as no.
of neighbors (near to square root of
samples in data).
KNN is an algorithm working based on Euclidean distance.
3. SVM is also an algorithm working based on Euclidean distance.
6. P(A) – the probability of event A.
P(B) – the probability of event B.
P(A|B) – P(A), given event B has occurred.
P(B|A) – P(B), given event A has occurred.
Is a mathematical formula for determining conditional probability.
Was named after mathematician Thomas Bayes.