accuracy {frbf} | R Documentation |
Calculates the accuracy of a given matrix.
accuracy(accuracy_matrix, classification_vector, config, return_hit_vector = TRUE)
accuracy_matrix |
data matrix with accurate classification |
classification_vector |
the classification to verify accuracy |
config |
the configuration |
return_hit_vector |
if true it will return accuracy ratio per cluster and total hit ration, otherwise it will return the total number of hits |
Compares the obtained classification and the real classification to check the accuracy.
Returns the total number of hits or accuracy ratio per cluster and total hit ration
This function is part of the frbf implementation and is for internal use only.
Fernando Martins