Skip to main content

A Comprehensive Analysis on Question Classification Using Machine Learning and Deep Learning Techniques

  • Conference paper
  • First Online:
Mobile Computing and Sustainable Informatics

Abstract

The competence of any online Web site depends on the type of experience it gives to its users, which depends largely on the content they put up on their Web site. Hence, the content which is being put online should be really taken care. There are many Web sites that provide content to their user in terms of questions and answers, for example, the online Web site Quora, which has large scale of data in terms of questions and answers of users. Users are the one who put up questions and also provide answers to those questions. In this paper, a system is proposed by considering significant amount of data from Kaggle, where it is utilized for different approaches to predict the insincere questions. The goal of the proposed work is to develop a model that considers question as an input in English language and produces output as either 0 or 1. In that, 0 represents sincere type of questions and 1 represents insincere type of questions. Hence, the data are transformed into result including F1 score using preprocessing, TF-IDF and pre-trained word embedding. For each method, preprocessing tasks like tokenization, case normalization and punctuation removal are used. Each individual word after preprocessing is used as word vector in this work. These word vectors are then used for the insincere and sincere question classification which is given as input to the machine learning models like SVM, Naïve Bayes, logistic regression and deep learning model called RNN with word embedding. It is used to detect the toxic content in the reviews as 1 for insincere and 0 for sincere questions. The accuracy of these different methods is critically examined with the help of LSTM, word embedding and model ensembling.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. D. Mediratta, N. Oswal, Detect Toxic Content to Improve Online Conversations. arXiv:1911.01217 (2019)

  2. C. Liu, Y. Sheng, Z. Wei, Y. Yang, Research of text classification based on improved tf-idf algorithm, in 2018 IEEE International Conference of Intelligent Robotic and Control Engineering (IRCE), Aug 2018

    Google Scholar 

  3. O. Aborisade, M. Anwar, Classification for authorship of tweets by comparing logistic regression and Naive Bayes classifiers, in 2018 IEEE International Conference on Information Reuse and Integration (IRI), July 2018

    Google Scholar 

  4. S.T. Indra, L. Wikarsa, R. Turang, Using logistic regression method to classify tweets into the selected topics, in 2016 International Conference on Advanced Computer Science and Information Systems (ICACSIS), Oct 2016

    Google Scholar 

  5. W. Haryanto, E.K. Mawardi, Influence of word normalization and chi-squared feature selection on support vector machine (svm) text classification, in 2018 International Seminar on Application for Technology of Information and Communication, Sept 2018

    Google Scholar 

  6. F. Gurcan, Multi-class classification of turkish texts with machine learning algorithms, in 2018 2nd International Symposium on Multidisciplinary Studies and Innovative Technologies (ISMSIT), Oct 2018

    Google Scholar 

  7. A. Ranganathan, H. Ananthakrishnan, D. Thenmozhi, C. Aravindan, Classification of insincere questions using SGD optimization and SVM classifiers. CEUR Proc. 2517 (2019)

    Google Scholar 

  8. S.V. Georgakopoulos, S.K. Tasoulis, A.G. Vrahatis, V.P. Plagianakos, Convolutional neural networks for toxic comment classification, in Proceedings of the 10th Hellenic Conference on Artificial Intelligence, 2019, pp. 1–6

    Google Scholar 

  9. V. Mujadia, P. Mishra, D.M. Sharma, Classification of insincere questions with ML and neural approaches, in FIRE (Working Notes), 2019

    Google Scholar 

  10. M. Aldwairi, A. Alwahedi, Detecting fake news in social media networks. Proc. Comput. Sci. 141, 215–222 (2018)

    Article  Google Scholar 

  11. F. Chroma, H. Liu, M. Cocea, Text classification for suicide related tweets. Int. Conf. Mach. Learn. Cybern. (ICMLC) 2, 587–592 (2018)

    Google Scholar 

  12. R. Ayyasamy, P. Subramani, An enhanced distributed certificate authority scheme for authentication in mobile ad-hoc networks. Int. Arab J. Inf. Technol. 9(3), 291–298 (2012)

    Google Scholar 

  13. P. Liu, H. Yu, T. Xu, C. Lan, Research on archives text classification based on Naive Bayes, in 2017 IEEE 2nd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), 2017

    Google Scholar 

  14. T. Ranasinghe, M. Zampieri, H. Hettiarachchi, BRUMS at HASOC 2019: deep learning models for multilingual hate speech and offensive language identification, in FIRE (Working Notes), 2019, pp. 199–207

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kogilavani, S.V., Malliga, S., Preethi, A., Nandhini, L., Praveen, S.R. (2022). A Comprehensive Analysis on Question Classification Using Machine Learning and Deep Learning Techniques. In: Shakya, S., Bestak, R., Palanisamy, R., Kamel, K.A. (eds) Mobile Computing and Sustainable Informatics. Lecture Notes on Data Engineering and Communications Technologies, vol 68. Springer, Singapore. https://doi.org/10.1007/978-981-16-1866-6_63

Download citation

Publish with us

Policies and ethics