Skip to main content

11.2b Simple neural-network labs

Source: Lab ideas from Computational Physics (Landau, Páez, Bordeianu), §11.2. Original drills. Continues 11.2.

Explorer​

Pure Python. No NumPy.

Formula refresh​

Warm up: pick the matching equation among lookalikes (same walk as the theory lesson).

Labs​

Activity: Σ=w1x1+w2x2\Sigma=w_1 x_1+w_2 x_2

With w1=−1w_1=-1, w2=1w_2=1, x1=12x_1=12, x2=8x_2=8, print Σ\Sigma with 10 decimals.

No input.

Write-ups​

0/2 solved
11.2b.W1

Using “weight”, “bias”, and “activation”, explain:

List the three ingredients of a single AI neuron’s forward map.

Minimum 3 words. Your answer must include: “weight”, “bias”, “activation”.

0 words/ 3 min

Meet the writing requirements, then you can open the model answer.

Next: 11.3 Training and backpropagation.