Effacer les filtres
Effacer les filtres

How to obtain precision, recall and F-measure for clustering?

5 vues (au cours des 30 derniers jours)
Rahimeh Rouhi
Rahimeh Rouhi le 30 Juil 2018
Commenté : Kartik Mittal le 2 Août 2018
Precision and recall for a classification problem are obtained by the confusion matrix easily since the number of classes is provided in the problem. For a clustering problem, we do not have the number of classes, so some extra clusters may be presented in the solution.
Could anybody provide me with a Matlab code for the evaluation of results by precision, recall and F-measure in this case?
Thank you.
  1 commentaire
Kartik Mittal
Kartik Mittal le 2 Août 2018
Precision and recall are good performance measures for a supervised learning algorithm (where you have some ground truth). Since you are using some clustering algorithm, I am assuming you might not have any ground truth to validate your results. Correct me if I am wrong.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by