train, test ,validation confusion matrix

45 views (last 30 days)
while the a confusion matrix is a map of correct and incorrect classifications; what are train ,test,validation confusion matrices? what is their meaning
  2 Comments
Yogini Prabhu
Yogini Prabhu on 25 Jan 2021
Thanks Adam, but I had seen the given web-page earlier. I wanted to know meaning about individual confusin matrices; train ,test ,validate

Sign in to comment.

Accepted Answer

Shubham Rawat
Shubham Rawat on 27 Jan 2021
Hi Yogini,
Confusion Matrices:
These are to evaluate the quality of the output of a classifier on the data set. The diagonal elements represent the number of points for which the predicted label is equal to the true label, while off-diagonal elements are those that are mislabeled by the classifier. The higher the diagonal values of the confusion matrix the better, indicating many correct predictions.
Train, Test , Validation Confusion matrices:
They uses different data for creating confusion matrix. For train confusion matrix it uses predicted values and actual values from train data. Similarly for the other confusion matrices.
You may also refer to the answer to this question:
Hope this helps!
  5 Comments
Yogini Prabhu
Yogini Prabhu on 20 Feb 2021
'The diagonal elements represent the number of points for which the predicted label is equal to the true label, while off-diagonal elements are those that are mislabeled by the classifier.'
which is the prediction, and how is it implemented?

Sign in to comment.

More Answers (1)

Yogini Prabhu
Yogini Prabhu on 8 Feb 2021
Edited: Yogini Prabhu on 20 Feb 2021
okay. i wil try out that, how about ROcs of the same? can i get an example of a confusion matrix (with not classification rate of 100% )and its corresponding ROC.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!