ARTIFICIAL INTELLIGENCE · LESSON 4 OF 8

Machine learning and neural networks explained

Machine learning is a way of building software that finds patterns in examples instead of relying only on instructions written for every situation.

Read the explanations, explore the activity and answer the knowledge check. No programming knowledge is assumed.

Machine learning in simple terms

A system can learn relationships from examples, such as which features of an email are associated with spam. It can then use those relationships to make predictions about new messages.

What is a neural network?

A neural network is a mathematical model containing layers of connected operations. During training, numerical parameters are adjusted to improve the model's results. The name is inspired by biology, but it is not the same as a human brain.

What is deep learning?

Deep learning commonly refers to using neural networks with multiple layers. Modern language and image systems often employ forms of deep learning.

HALF ECHO LEARN / EXPLORE & UNDERSTANDILLUSTRATIVE / NOT A LIVE AI SERVICE

Change a weight. Inspect the result.

Explore one simplified mathematical unit. The inputs are fixed, the second weight is 0.5 and the bias is −1. Change the first weight to see what happens.

FIXED INPUTSx₁ = 0.8x₂ = 0.2
WEIGHTED SUM + BIASz = 0.8w₁ + 0.1 − 1
RELU OUTPUT0.00

z = -0.10 · ReLU(z) = max(0, z) = 0.00

This calculation is not a trained classifier or a probability. Real neural networks combine many units and learn parameters from data. ReLU (rectified linear unit) sets negative sums to zero; it is one possible activation function.

COMPUTING FOUNDATIONS · STEP 8 OF 13

Check what you learned

Answer both questions correctly to complete this step. You can revise your answers and retry.

1. Set w₁ to 2 in the activity. With z = 0.8w₁ + 0.1 − 1, what is ReLU(z)?
2. What does ReLU do to z = −0.1?

Progress stays in this browser. It is not synced to an account or sent as analytics. Passing these introductory checks is not certification.

Explore another AI topic

About this lesson

Half Echo Learn explanation and introductory activity. Educational illustrations do not represent a running AI service. The knowledge check tests the concepts on this page.

Browse all AI lessons →