bootcamp_machine-learning
bootcamp_machine-learning copied to clipboard
Correctioon doesnt fit examples
- 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