I know, neurons take in data from the eyes and pass the data on through synapses to subsequent neurons and synaptic weights from many neurons pass into the subsequent neuron and the neuron adds up all synaptic weights in the axon hillock and if it is strong enough, it decides to send it to the next neuron through the axon terminal.
But if the neurons just keep adding up numbers and sending those numbers to the next neuron, how does the final neuron understand that the image is of a dog? The last neuron just gets a big number, the sum of all the previous neurons' values. It's just a number then, isn't it?
I've learnt about Hebbian learning and stuff, but because the same synapse can allow data about cats, dogs, rats, any other thing to pass through it, how does it realize which data is about a dog to strengthen the connection? It's just a number isn't it, the sum of all those neurons before it?
I am pretty new to this field, and I haven't studied this in school or anything, but I am a programmer and I thought of a pretty cool idea about AI to simulate the brain, so I've been buggin ChatGPT to explain how the brain works. I've got a pretty good idea right now, but I'm stuck on this point and I can't seem to make sense of it at all. Please help me out, thanks in advance.
PS: I don't even know what tags to apply here, sorry 😅