In episode 05, Python code under Predict refers to np as a module alias for numpy. I could not see anyone in preceeding lessons code where numpy is imported. Recommend adding a line import numpy as np to this chunk, or earlier in workshop, possibly ep01 as numpy is used more often than not in deep learning tasks. Importing familiar modules such as numpy at the outset would help reinforce this practice in learners.
In episode 05, Python code under Predict refers to
np
as a module alias fornumpy
. I could not see anyone in preceeding lessons code wherenumpy
is imported. Recommend adding a lineimport numpy as np
to this chunk, or earlier in workshop, possibly ep01 asnumpy
is used more often than not in deep learning tasks. Importing familiar modules such asnumpy
at the outset would help reinforce this practice in learners.