Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ml02 ex03 wrong shape for theta #225

Open
2 tasks
Mazoise opened this issue Jun 23, 2022 · 0 comments
Open
2 tasks

ml02 ex03 wrong shape for theta #225

Mazoise opened this issue Jun 23, 2022 · 0 comments
Labels

Comments

@Mazoise
Copy link

Mazoise commented Jun 23, 2022

  • Day: 02
  • Exercise: 03

Theta should have shape (4, 1) not (3, 1) since x has shape (., 3)

theta1 = np.array([3,0.5,-6]).reshape((-1, 1))
...
theta2 = np.array([0,0,0]).reshape((-1, 1))

should be :

theta1 = np.array([0, 3, 0.5, -6]).reshape((-1, 1))
...
theta2 = np.array([0, 0, 0, 0]).reshape((-1, 1))

Fixed on:

  • Github
  • Gitlab
@Mazoise Mazoise added the fixme label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant