Professional Documents
Culture Documents
UNIT4 - Final
UNIT4 - Final
John 35 35 3 Yes
Rachel 22 50 2 No
Ruth 63 200 1 No
Tom 59 170 1 No
Neil 25 40 4 Yes
David 37 50 2 ?
Answer
3-
x1 x2 x3 d Rank Nearest
35 35 3 1
15.16575 Yes
22 50 2 54.6626 3 No
63 200 1 5
209.6902 No
59 170 1 179.95 4 No
25 40 4 47.3392 2 Yes
One leave out cross validation KNN-
Watch
https://www.youtube.com/watch?v=Lvs6G_gdgCM
Distance –Weighted Nearest
Neighbor Algorithm
The refinement to the k-NEAREST NEIGHBOR Algorithm
is to weight the contribution of each of the k neighbors
according to their distance to the query point xq, giving
greater weight to closer neighbors.
28
Case-Based Reasoning in CADET
CADET: 75 stored examples of mechanical devices
each training example:
? Ch Qh
-
+
Tc
+
+ Tm
Th +
Neural Network
Based on nature, neural networks are the usual
representation we make of the brain : neurons
interconnected to other neurons which forms a
network.
A simple information transits in a lot of them
before becoming an actual thing, like “move the
hand to pick up this pencil”.
Artificial Neural Network (ANN)
The operation of a complete
neural network is
straightforward