Skip to main content

11.5b ML software labs

Source: Lab ideas from Computational Physics (Landau, Páez, Bordeianu), §11.4–11.5 openers. Pure-Python mirrors of tensor / A=Z+NA=Z+N checks (no TensorFlow in the sandbox). Continues 11.5.

Explorer​

Labs​

Activity: A=Z+NA=Z+N

For Z=1Z=1, N=2N=2 print AA as an integer.

No input.

Write-ups​

0/2 solved
11.5b.W1

Using “tensor”, “shape”, and “rank”, explain:

In one sentence, distinguish rank and shape of a tensor.

Minimum 3 words. Your answer must include: “tensor”, “shape”, “rank”.

0 words/ 3 min

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

Next: 11.6 TensorFlow / sklearn examples.