Neural networks: one neuron, then millions
What a weight is, what training changes, and why a learning rate can make or break a model.
An artificial neuron is a weighted sum followed by a squashing function. Each input is multiplied by a weight, the products are added with a bias, and the result is passed through a function that turns it into something like a probability. That is all. Move the sliders:
A deep network stacks thousands of these in layers. The first layers of an imaging model learn edges and textures; later layers combine them into shapes like a rib margin or a nodule. Nobody programs these features. They emerge because they help reduce the error.
How are the weights found? Start with random ones, measure the error, nudge every weight a little in the direction that lowers the error, repeat. This is gradient descent. The size of each nudge is the learning rate:
Watch
Check yourself
Educational material, not clinical advice. Interactive numbers are teaching examples unless a source is named.