Week 2 Checkpoint
A short checkpoint on Week 2: functions, domain and range, composition, the standard ML activation functions (sigmoid, tanh, ReLU, softplus), and NumPy arrays, shapes, and broadcasting. Aim for 80% or better before moving to Week 3. Each explanation names the chapter to revisit if you miss it.
- 1.
For , what is the domain?
- 2.
Given and , what is the composition ?
- 3.
The sigmoid has what range, and what is ?
- 4.
Which statement about ReLU, , is correct?
- 5.
In NumPy, an array
Ahas shape(4, 3). What is the shape ofA.T(its transpose)? - 6.
In NumPy, you add an array of shape
(3, 1)to an array of shape(1, 4). Broadcasting produces a result of what shape?