coursera-machine-learning icon indicating copy to clipboard operation
coursera-machine-learning copied to clipboard

This should be the sigmoid function

Open zakir8251 opened this issue 7 years ago • 0 comments

https://github.com/benoitvallon/coursera-machine-learning/blob/74ec09a5072eb5f3fec942fee45076e4f05b35af/machine-learning-ex3/ex3/predictOneVsAll.m#L34

Hey just wondering since this is logistic regression as opposed to liner, shouldn't the hypothesis be sigmoid:- [~,p]=max(sigmoid(X*all_theta'),[],2);

zakir8251 avatar Nov 10 '18 03:11 zakir8251