Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T03:14:23.702Z Has data issue: false hasContentIssue false

Term evaluation metrics in imbalanced text categorization

Published online by Cambridge University Press:  12 July 2019

Behzad Naderalvojoud*
Affiliation:
Department of Computer Engineering, Hacettepe University, 06800, Ankara, Turkey
Ebru Akcapinar Sezer
Affiliation:
Department of Computer Engineering, Hacettepe University, 06800, Ankara, Turkey
*
*Corresponding author. Emails: n.behzad@hacettepe.edu.tr, ebru@hacettepe.edu.tr
Rights & Permissions [Opens in a new window]

Abstract

This paper proposes four novel term evaluation metrics to represent documents in the text categorization where class distribution is imbalanced. These metrics are achieved from the revision of the four common term evaluation metrics: chi-square, information gain, odds ratio, and relevance frequency. While the common metrics require a balanced class distribution, our proposed metrics evaluate the document terms under an imbalanced distribution. They calculate the degree of relatedness of terms with respect to minor and major classes by considering their imbalanced distribution. Using these metrics in the document representation makes a better distinction between the documents of the minor and major classes and improves the performance of machine learning algorithms. The proposed metrics are assessed over three popular benchmarks (two subsets of Reuters-21578 and WebKB) by using four classification algorithms: support vector machines, naive Bayes, decision trees, and centroid-based classifiers. Our empirical results indicate that the proposed metrics outperform the common metrics in the imbalanced text categorization.

Information

Type
Article
Copyright
© Cambridge University Press 2019 
Figure 0

Figure 1. Distribution of the minority class in contrast to the majority one. FN errors of the minority and majority classes are shown for learned model.

Figure 1

Table 1. General notation for binary contingency table

Figure 2

Table 2. Most irrelevant, relevant, and neutral cases based on document frequency

Figure 3

Table 3. Evaluation results for five relevant terms of grain category in Reuters data set

Figure 4

Table 4. Statistics of data sets

Figure 5

Figure 2. The overall macro F-measure values obtained from the R52 data set.

Figure 6

Table 5. Paired t-test results on the macro F-measure values of three classifiers in the R52 data set

Figure 7

Figure 3. Performance of the proposed metrics in comparison with their standard forms over R8 (a) and WebKB (b) data sets.

Figure 8

Table 6. Paired t-test results on the macro F-measure values of four classifiers in the R8 data set

Figure 9

Table 7. Paired t-test results on the macro F-measure values of four classifiers in the WebKB data set

Figure 10

Table 8. Term weighting approach versus resampling approach