KNN Simulation:

Input Layer

x1:
x2:
x3:

Weights

w11:
w12:
w13:
w21:
w22:
w23:
w31:
w32:
w33:

Hidden Layer Outputs

Ohl1=sigmoid(x1*w11 + x2*w21 + x3*w31)

Ohl2=sigmoid(x1*w12 + x2*w22 + x3*w32)

Ohl3=sigmoid(x1*w13 + x2*w23 + x3*w33)

0.0
0.0
0.0

Weights

w1:
w2:
w3:

Output Layer

Oo=sigmoid(Ohl1*w1 + Ohl2*w2 +Ohl3*w3)

0.0