so ive been working on better ways of hand simulating my AI
and what ive found is that you can convert a basic neural net into a mathematical function via calculus.
now im not fully into calculus yet i only know a few things here and there about it
but for example we have 3 total neurons in 3 layers
this is to just make it easier
N1=5v
N1 - R1 = x (this is assuming instead of multiplying a neurons output by a specific factor you instead use resistors to limit a literal electrical signal)
x - N2 = y (this is the function that says if the next neuron fires or not based on its bias if its negative then it naturally will not
y - N3 = output (this is from the output of the AI
now in a normal neural net your going to add multiple X values together because of the interconnecting neurons, same for y values. and by doing this you can kind of reduce a AI neural net from a complex thing to something somewhat easier to work on by hand without going insane like i
AI testing 101
0 Kudos
Comments
Displaying 1 of 1 comments ( View all | Add Comment )
Mika
here is a more in depth example
input has 2 neurons in a single layer
it has 3 hidden neurons in a single layer
and 2 output neurons in a single layer
N1 - R₁ = X₁
N1 - R₂ = X₂
N1 - R₃ = X₃
N2 - R₄ = Y₁
N2 - R₅ = Y₂
N2 - R₆ = Y₃
X₁ + Y₁ = A₁
X₂ + Y₂ = A₂
X₃ + Y₃ = A₃
A₁ - N3 = B₁
A₂ - N4 = B₂
A₃ - N5 = B₃
B₁ - R₇ = C₁
B₁ - R₈ = C₂
B₂ - R₉ = C₃
B₂ - R₁₀ = C₄
B₃ - R₁₁ = C₅
B₃ - R₁₂ = C₆
C₁ + C₃ + C₅ = D₁
C₂ + C₄ + C₆ = D₂
D₁ - N6 = output 1
D₂ - N7 = output 2
Report Comment