bootcamp_machine-learning icon indicating copy to clipboard operation
bootcamp_machine-learning copied to clipboard

Correctioon doesnt fit examples

Open JBarmentlo opened this issue 4 years ago • 0 comments

  • Day: 01
  • Exercise: 00

Examples and corrections do not fit. Theta shape changes from (2,) to (2,1).

#SUBJECT:
theta1 = np.array([2, 0.7])

#CORRECTION SCALE:
theta = [[1.],[1.]]

Also [[1.],[1.]], is not a numpy array so anyone calling theta.reshape in their functions (which they need to do as the theta shape in the example is one dimensional) WILL CRASH in the correction, when he followed the examples.

Fixed on:

  • [ ] Github
  • [ ] Gitlab

JBarmentlo avatar Nov 18 '21 13:11 JBarmentlo