This package provides logistic regression functions for both binary and multiclass classification problems.
This package is now a part of the PRML toolbox (http://www.mathworks.com/matlabcentral/fileexchange/55826-pattern-recognition-and-machine-learning-toolbox).
I got the same problem like Muhammad Tariq Sadiq, please advise!
Dear Sir, I am using following commands of your MATLAB codes
ytest = logitBinPred(model,features);
where features have length of 72*10 double and y have 72*1 double and representing class label.
When i execute the above code, I got following error
Error using -
Matrix dimensions must agree.
Error in logitBin (line 32)
g = X*(y-t)'+lambda.*w; % 4.96
Kindly suggest me how to remove it
t: 1 x n label (1~k)????
Great work! This saved me several hours, writing the code from Bishop myself.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.