Open Access iconOpen Access



Benchmarking Performance of Document Level Classification and Topic Modeling

Muhammad Shahid Bhatti1,*, Azmat Ullah1, Rohaya Latip2, Abid Sohail1, Anum Riaz1, Rohail Hassan3

1 Department of Computer Science, COMSATS University Islamabad, Lahore, Pakistan
2 Department of Communication Technology and Network, Faculty of Computer Science, Universiti Putra Malaysia, Selangor, 43400, Malaysia
3 Othman Yeop Abdullah Graduate School of Business (OYAGSB), Universiti Utara Malaysia (UUM), Kuala Lumpur, 50300, Malaysia

* Corresponding Author: Muhammad Shahid Bhatti. Email: email

(This article belongs to the Special Issue: Computational Models for Pro-Smart Environments in Data Science Assisted IoT Systems)

Computers, Materials & Continua 2022, 71(1), 125-141.


Text classification of low resource language is always a trivial and challenging problem. This paper discusses the process of Urdu news classification and Urdu documents similarity. Urdu is one of the most famous spoken languages in Asia. The implementation of computational methodologies for text classification has increased over time. However, Urdu language has not much experimented with research, it does not have readily available datasets, which turn out to be the primary reason behind limited research and applying the latest methodologies to the Urdu. To overcome these obstacles, a medium-sized dataset having six categories is collected from authentic Pakistani news sources. Urdu is a rich but complex language. Text processing can be challenging for Urdu due to its complex features as compared to other languages. Term frequency-inverse document frequency (TFIDF) based term weighting scheme for extracting features, chi-2 for selecting essential features, and Linear discriminant analysis (LDA) for dimensionality reduction have been used. TFIDF matrix and cosine similarity measure have been used to identify similar documents in a collection and find the semantic meaning of words in a document FastText model has been applied. The training-test split evaluation methodology is used for this experimentation, which includes 70% for training data and 30% for testing data. State-of-the-art machine learning and deep dense neural network approaches for Urdu news classification have been used. Finally, we trained Multinomial Naïve Bayes, XGBoost, Bagging, and Deep dense neural network. Bagging and deep dense neural network outperformed the other algorithms. The experimental results show that deep dense achieves 92.0% mean f1 score, and Bagging 95.0% f1 score.


Cite This Article

APA Style
Bhatti, M.S., Ullah, A., Latip, R., Sohail, A., Riaz, A. et al. (2022). Benchmarking performance of document level classification and topic modeling. Computers, Materials & Continua, 71(1), 125-141.
Vancouver Style
Bhatti MS, Ullah A, Latip R, Sohail A, Riaz A, Hassan R. Benchmarking performance of document level classification and topic modeling. Comput Mater Contin. 2022;71(1):125-141
IEEE Style
M.S. Bhatti, A. Ullah, R. Latip, A. Sohail, A. Riaz, and R. Hassan "Benchmarking Performance of Document Level Classification and Topic Modeling," Comput. Mater. Contin., vol. 71, no. 1, pp. 125-141. 2022.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2315


  • 1283


  • 0


Share Link