Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

wrong code #30

Open
ale-hm opened this issue Feb 2, 2022 · 0 comments
Open

wrong code #30

ale-hm opened this issue Feb 2, 2022 · 0 comments

Comments

@ale-hm
Copy link

ale-hm commented Feb 2, 2022

https://github.com/schneems/Octave/blob/master/mlclass-ex3/mlclass-ex3/predict.m#L27

it should be

a2 = [ones(size(z2, 1), 1) sigmoid(z2)];

instead of

a2 = [ones(size(z2),1) sigmoid(z2)];   % INCORRECT
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant