THAccuracy
THAccuracy, or True Hit Accuracy, is a metric used in the field of machine learning and data analysis to evaluate the performance of a classification model. It is particularly useful when dealing with imbalanced datasets, where the number of instances in each class is not equal. THAccuracy takes into account both the true positive rate (TPR) and the true negative rate (TNR), providing a more balanced evaluation of the model's performance.
The formula for THAccuracy is as follows:
THAccuracy = (TPR + TNR) / 2
where TPR is the ratio of true positives to the total number of actual positives, and TNR
THAccuracy ranges from 0 to 1, with 1 indicating perfect accuracy and 0 indicating the worst possible
THAccuracy is particularly useful in scenarios where both false positives and false negatives have significant consequences.