classification performance metrics (sensitivity specificity ) showing 0 or NaN value

Hello All, I am doing 10 fold CV method to classify binary data. While evaluating the performance of the classifier using standard formula, many times I found 0 or NaN value for different metrics (such as, TPR, FPR, MCC value, precision, recall etc). How can I avoid 0 or Nan value to get correct rate? Any idea or links? Thanks

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange

Question posée :

DSP
le 1 Déc 2014

Commenté :

le 2 Nov 2016

Community Treasure Hunt

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

Start Hunting!

Translated by