Free courses in AI, Data Science & Machine Learning Written lessons · Quizzes · Final exams
Future Data Academy
Log inGet started ↗
← Neural Networks and Deep Learning
FREE LESSON PREVIEW

Neurons and activation

An artificial neuron calculates a weighted sum plus bias, then applies an activation. For inputs 2 and 1, weights 3 and -1, and bias 1, the pre-activation value is 6. ReLU outputs max(0,z). Layers combine many such operations.

Weights determine how inputs affect output. The biological analogy is limited: this is a mathematical model, not a complete explanation of human thinking. Match output and loss to the task. Complex architecture alone does not guarantee useful predictions or reliable reasoning.

Try it yourself

With x=2, weight=-3 and bias=1, calculate the pre-activation and ReLU result.

Worked answer

Pre-activation -5; ReLU output 0.

Explore the full course →