News Classification for Identifying Traffic Incident Points in a Spanish-Speaking Country: A Real-World Case Study of Class Imbalance Learning
Source abstract
Abstract
‘El Diario de Juárez’ is a local newspaper in a city of 1.5 million Spanish-speaking inhabitants that publishes texts of which citizens read them on both a website and an RSS (Really Simple Syndication) service. This research applies natural-language-processing and machine-learning algorithms to the news provided by the RSS service in order to classify them based on whether they are about a traffic incident or not, with the final intention of notifying citizens where such accidents occur. The classification process explores the bag-of-words technique with five learners (Classification and Regression Tree (CART), Naïve Bayes, kNN, Random Forest, and Support Vector Machine (SVM)) on a class-imbalanced benchmark; this challenging issue is dealt with via five sampling algorithms: synthetic minority oversampling technique (SMOTE), borderline SMOTE, adaptive synthetic sampling, random oversampling, and random undersampling. Consequently, our final classifier reaches a sensitivity of 0.86 and an area under the precision-recall curve of 0.86, which is an acceptable performance when considering the complexity of analyzing unstructured texts in Spanish.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Imbalanced Data Classification Techniques · Sentiment Analysis and Opinion Mining · Network Security and Intrusion Detection
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Departamento de Eléctrica y Computación, División Multidisciplinaria de Ciudad Universitaria, Universidad Autónoma de Ciudad Juárez, Av. José de Jesús Macías Delgado #18100, Cd. Juárez 32000, Chihuahua, Mexico
References (80)
Show source-provided references
1. United Nations (2020, September 01). World Urbanization Prospects 2018. Available online: https://population.un.org/wup/.
2. United Nations (2020, September 01). World’s Population Increasingly Urban with More than Half Living in Urban Areas. Available online: http://un.org/en/development/desa/news/population/world-urbanization-prospects-2014.html.
3. Ochoa Ortiz-Zezzatti, A., Rivera, G., Gómez-Santillán, C., and Sánchez-Lara, B. (2019). Handbook of Research on Metaheuristics for Order Picking Optimization in Warehouses to Smart Cities, IGI Global.10.4018/978-1-5225-8131-4 ↗
4. Smart Cities Council (2020, September 01). Smart Cities A to Z. Glossary, letter “S”. Available online: http://rg.smartcitiescouncil.com/master-glossary/S.
5. Williams, P. (2020, September 01). What, Exactly, is a Smart City?. Available online: http://meetingoftheminds.org/exactly-smart-city-16098.
6. Distributional structure10.1080/00437956.1954.11659520 ↗
7. A systematic review on imbalanced data challenges in machine learning: Applications and solutions
8. Multi-imbalance: An open-source software for multi-class imbalance learning10.1016/j.knosys.2019.03.001 ↗
9. Learning from imbalanced data: Open challenges and future directions10.1007/s13748-016-0094-0 ↗
10. Fernández, A., García, S., and Herrera, F. (2011). Addressing the classification with imbalanced data: Open problems and new challenges on class distribution. International Conference on Hybrid Artificial Intelligence Systems, Springer.10.1007/978-3-642-21219-2_1 ↗
11. Lane, J. (2020, September 01). The 10 Most Spoken Languages in The World. Available online: http://babbel.com/en/magazine/the-10-most-spoken-languages-in-the-world.
12. Internet World Stats (2020, September 01). Internet World Users by Language: Top 10 Languages. Usage and Population Statistics. Available online: https://www.internetworldstats.com/stats7.htm.
13. Comparative study of five text classification algorithms with their improvements
14. Allahyari, M., Pouriyeh, S., Assefi, M., Safaei, S., Trippe, E.D., Gutierrez, J.B., and Kochut, K. (arXiv, 2017). A Brief Survey of Text Mining: Classification, Clustering and Extraction Techniques, arXiv.
15. Text Classification Techniques: A Literature Review
16. CART: Classification and Regression Trees10.1201/9781420089653.ch10 ↗
17. Cutler, A., Cutler, D.R., and Stevens, J.R. (2012). Random forests. Ensemble Machine Learning, Springer.10.1007/978-1-4419-9326-7_5 ↗
18. Berrar, D. (2018). Bayes’ theorem and naïve Bayes classifier. Encyclopedia of Bioinformatics and Computational Biology: ABC of Bioinformatics, Elsevier Science Publisher.10.1016/B978-0-12-809633-8.20473-1 ↗
19. A sentiment classification model based on multiple classifiers10.1016/j.asoc.2016.11.022 ↗
20. High dimensional data classification and feature selection using support vector machines10.1016/j.ejor.2017.08.040 ↗
21. A novel active learning method using SVM for text classification10.1007/s11633-015-0912-z ↗
22. Active learning for text classification with reusability10.1016/j.eswa.2015.10.003 ↗
23. Lilleberg, J., Zhu, Y., and Zhang, Y. (2015, January 6–8). Support Vector Machines and word2vec for Text Classification with Semantic Features. Proceedings of the 14th IEEE International Conference on Cognitive Informatics and Cognitive Computing, Beijing, China.10.1109/ICCI-CC.2015.7259377 ↗
24. Ensemble of keyword extraction methods and classifiers in text classification10.1016/j.eswa.2016.03.045 ↗
25. Sentiment analysis for online reviews using conditional random fields and support vector machines10.1007/s10660-019-09354-7 ↗
26. El-Din, D.M. (2016). Enhancement bag-of-words model for solving the challenges of sentiment analysis. Int. J. Adv. Comput. Sci. Appl., 7.10.14569/IJACSA.2016.070134 ↗
27. Fu, Y., Feng, Y., and Cunningham, J.P. (2019). Paraphrase Generation with Latent Bag of Words. Advances in Neural Information Processing Systems, MIT Press.
28. Bag-of-concepts: Comprehending document representation through clustering words in distributed representation10.1016/j.neucom.2017.05.046 ↗
29. Fuzzy bag-of-words model for document representation10.1109/TFUZZ.2017.2690222 ↗
30. Aggarwal, C.C., and Zhai, C. (2012). A Survey of Text Classification Algorithms. Mining Text Data, Springer.10.1007/978-1-4614-3223-4 ↗
31. A review feature selection methods based on mutual information10.1007/s00521-013-1368-0 ↗
32. Learning from class-imbalanced data: Review of methods and applications10.1016/j.eswa.2016.12.035 ↗
33. García, V., Sánchez, J.S., Marqués, A.I., Florencia, R., and Rivera, G. (2019). Understanding the apparent superiority of over-sampling through an analysis of local information for class-imbalanced data. Expert Syst. Appl., 113026.10.1016/j.eswa.2019.113026 ↗
34. SMOTE: Synthetic Minority Over-Sampling Technique10.1613/jair.953 ↗
35. Han, H., Wang, W.Y., and Mao, B.H. (2005). Borderline-SMOTE: A new over-sampling method in imbalanced data sets learning. International Conference on Intelligent Computing, Springer.10.1007/11538059_91 ↗
36. He, H., Bai, Y., Garcia, E.A., and Li, S. (2008, January 1–8). ADASYN: Adaptive Synthetic Sampling Approach for Imbalanced Learning. Proceedings of the 2008 IEEE International Joint Conference on Neural Networks, Hong Kong, China.
37. Fernández, A., García, S., Galar, M., Prati, R.C., Krawczyk, B., and Herrera, F. (2018). Learning from Imbalanced Data Sets, Springer.10.1007/978-3-319-98074-4 ↗
38. He, H., and Ma, Y. (2013). Imbalanced Learning: Foundations, Algorithms, and Applications, John Wiley & Sons.10.1002/9781118646106 ↗
39. A survey of predictive modeling on imbalanced domains10.1145/2907070 ↗
40. A statistical approach to mechanized encoding and searching of literary information10.1147/rd.14.0309 ↗
41. On relevance, probabilistic indexing and information retrieval10.1145/321033.321035 ↗
42. Arthur Frederick Parker-Rhodes (1961). Contributions to the Theory of Clumps I, Cambridge Language Research Unit.
43. Machine learning in automated text categorization10.1145/505282.505283 ↗
44. Joachims, T. (1998). Text categorization with support vector machines: Learning with many relevant features. European Conference Machine Learning, Springer.10.1007/BFb0026683 ↗
45. Zhuang, D., Zhang, B., Yang, Q., Yan, J., Chen, Z., and Chen, Y. (2005, January 27–30). Efficient text classification by weighted proximal SVM. Proceedings of the Fifth IEEE International Conference on Data Mining, Houston, TX, USA.
46. Study on SVM compared with the other classification methods10.1109/ETCS.2010.248 ↗
47. Kumar, M.A., and Gopal, M. (2010, January 12–13). An Investigation on Linear SVM and its Variants on Text Categorization. Proceedings of the 2010 Second International Conference Machine Learning and Computing, Bangalore, India.10.1109/ICMLC.2010.64 ↗
48. Bayesian network classifiers10.1023/A:1007465528199 ↗
49. Construction of a model for computer assisted diagnosis: Application of the problem of non-toxic goitre
50. Neural network modeling of the level of observation decision in an acute psychiatric ward10.1006/cbmr.1997.1432 ↗
51. Naïve Bayes classifiers to text classification10.1177/0165551516677946 ↗
52. On bias, variance, 0/1–loss, and the curse-of-dimensionality10.1023/A:1009778005914 ↗
53. A comparison of event models for naïve Bayes text classification
54. An Improved Random Forest Classifier for Text Categorization
55. Neighbor-weighted k-nearest neighbor for unbalanced text corpus10.1016/j.eswa.2004.12.023 ↗
56. An improved KNN text classification algorithm based on clustering
57. Sriram, B., Fuhry, D., Demir, E., Ferhatosmanoglu, H., and Demirbas, M. (2010, January 19–23). Short text classification in twitter to improve information filtering. Proceedings of the 33rd ACM SIGIR International Conference of Research and Development on Information Retrieval, Geneva, Switzerland.10.1145/1835449.1835643 ↗
58. Cyber hate speech on twitter: An application of machine classification and statistical modeling for policy and decision making10.1002/poi3.85 ↗
59. Dilrukshi, I., de Zoysa, K., and Caldera, A. (2013, January 26–28). Twitter news classification using SVM. Proceedings of the 8th International Conference on Computer Science & Education, Colombo, Sri Lanka.10.1109/ICCSE.2013.6553926 ↗
60. Short text classification: A survey10.4304/jmm.9.5.635-643 ↗
61. Hofmann, T. (arXiv, 1999). Probabilistic Latent Semantic Analysis, arXiv.10.1145/312624.312649 ↗
62. L’Huillier, G., Hevia, A., Weber, R., and Rios, S. (2010, January 23–26). Latent semantic análisis and keyword extraction for phishing classification. Proceedings of the 2010 IEEE International Conference on Intelligence and Security Informatics, Vancouver, BC, Canada.10.1109/ISI.2010.5484762 ↗
63. Zeng, Z., Zhang, S., Liang, H.L.W., and Zheng, H. (July, January 28). A novel approach to musical genre classification using probabilistic latent semantic analysis model. Proceedings of the 2009 IEEE International Conference on Multimedia and Expo, Cancun, Mexico.10.1109/ICME.2009.5202540 ↗
64. Bosch, A., Zisserman, A., and Muñoz, X. (2006). Scene classification via pLSA. European Conference Computer Vision, Springer.10.1007/11744085_40 ↗
65. Díaz, G., and Romero, E. (2010). Histopathological Image Classification Using Stain Component Features on a pLSA Model. Iberoamerican Congress Pattern Recognition, Springer.10.1007/978-3-642-16687-7_12 ↗
66. Haloi, M. (arXiv, 2015). A novel pLSA based Trafic Signs Classification System, arXiv.
67. Kroha, P., and Baeza-Yates, R. (2005, January 22–26). A Case Study: News Classification Based on Term Frequency. Proceedings of the 16th International Workshop on Database and Expert Systems Applications, Copenhagen, Denmark.
68. Wikipedia-based hybrid document representation for textual news classification10.1007/s00500-018-3101-5 ↗
69. Sankaranarayanan, J., Samet, H., Teitler, B.E., Lieberman, M.D., and Sperling, J. (2009, January 4–6). Twitterstand: News in Tweets. Proceedings of the 17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Seattle, WA, USA.10.1145/1653771.1653781 ↗
70. Li, C., Zhan, G., and Li, Z. (2018, January 19–21). News text classification based on improved Bi-LSTM-CNN. Proceedings of the IEEE 9th International Conference on Information Technology in Medicine and Education, Hangzhou, China.10.1109/ITME.2018.00199 ↗
71. Dadgar, S.M.H., Araghi, M.S., and Farahani, M.M. (2016, January 17–18). A novel text mining approach based on TF-IDF and Support Vector Machine for news classification. Proceedings of the 2016 IEEE Internatoonal Conference Engineering and Technology, Coimbatore, India.10.1109/ICETECH.2016.7569223 ↗
72. Bondielli, A., and Marcelloni, F. (2019). A survey on fake news and rumour detection techniques. Inf. Sci., 38–55.10.1016/j.ins.2019.05.035 ↗
73. Kusumaningrum, R., Wiedjayanto, M.I.A., and Adhy, S. (2016, January 26–27). Classification of Indonesian news articles based on Latent Dirichlet Allocation. Proceedings of the 2016 International Conference Data and Software Engineering, Denpasar, Indonesia.10.1109/ICODSE.2016.7936106 ↗
74. Shehab, M.A., Badarneh, O., Al-Ayyoub, M., and Jararweh, Y. (2016, January 13–14). A supervised approach for multi-label classification of Arabic news articles. Proceedings of the 2016 7th International Conference Computer Science and Information Technology, Amman, Jordan.10.1109/CSIT.2016.7549465 ↗
75. Van, T.P., and Thanh, T.M. (2017, January 15–17). Vietnamese news classification based on BoW with keywords extraction and neural network. Proceedings of the 2017 21st Asia Pacific Symposium on Intelligent and Evolutionary Systems, Hanoi, Vietnam.10.1109/IESYS.2017.8233559 ↗
76. Wang, M., Cai, Q., Wang, L., Li, J., and Wang, X. (2019, January 2–3). Chinese news text classification based on attention-based CNN-BiLSTM. Proceedings of the MIPPR 2019: Pattern Recognition and Computer Vision, Wuhan, China.10.1117/12.2538132 ↗
77. Pazos-Rangel, R.A., Florencia-Juarez, R., Paredes-Valverde, M.A., and Rivera, G. (2017). Handbook of Research on Natural Language Processing and Smart Service Systems, IGI Global.
78. Scikit-learn: Machine Learning in Python
79. Buitinck, L., Louppe, G., Blondel, M., Pedregosa, F., Müller, A.C., Grisel, O., Niculae, V., Prettenhofer, P., Gramfort, A., and Grobler, J. (arXiv, 2013). API design for machine learning software: Experiences from the scikit-learn project. Presented at the European Conference Machine Learning and Principles and Practices of Knowledge Discovery in Databases, arXiv.
80. SpaCy (2020, September 01). Industrial-Strength Natural Language Processing IN PYTHON. Available online: https://spacy.io.