This MATLAB code is the Probabilistic approach to classification – Logistic approach.
Input data is the data for a classification problem, that had three inputs.
The accuracy for test data is: 96.2222
The confusion matrix is :
266 0 0
34 300 0
0 0 300
As you see, the code has good performance and accuracy.
We did not use any MATLAB toolbox for the implementation of this code, we just use MATLAB basic programming.