{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,24]],"date-time":"2026-09-24T02:37:09Z","timestamp":1790217429051,"version":"4.1.0"},"reference-count":49,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2024,11,1]],"date-time":"2024-11-01T00:00:00Z","timestamp":1730419200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,11,13]],"date-time":"2024-11-13T00:00:00Z","timestamp":1731456000000},"content-version":"vor","delay-in-days":12,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"Universidade de \u00c9vora"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Wireless Pers Commun"],"published-print":{"date-parts":[[2024,11]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Since the advent of email services, spam emails have been a major concern because users\u2019 security depends on the classification of emails as ham or spam. It\u2019s a malware attack that has been used for spear phishing, whaling, clone phishing, website forgery, and other harmful activities. However, various ensemble Machine Learning (ML) algorithms used for the detection and filtering of spam emails have been less explored. In this research, we offer a ML-based optimized algorithm for detecting spam emails that have been enhanced using Hyper-parameter tuning approaches. The proposed approach uses two feature extraction modules, namely Count-Vectorizer and TFIDF-Vectorizer that provide the most effective classification results when we apply them to three different publicly available email data sets: Ling Spam, UCI SMS Spam, and the Proposed dataset. Moreover, to extend the performance of classifiers we used various ML methods such as Naive Bayes (NB), Logistic Regression (LR), Extra Tree, Stochastic Gradient Descent (SGD), XG-Boost, Support Vector Machine (SVM), Random Forest (RF), Multi-layer Perception (MLP), and parameter optimization approaches such as Manual search, Random search, Grid search, and Genetic algorithm. For all three data sets, the SGD outperformed other algorithms. All of the other ensembles (Extra Tree, RF), linear models (LR, Linear-SVC), and MLP performed admirably, with relatively high precision, recall, accuracies, and F1-score.<\/jats:p>","DOI":"10.1007\/s11277-024-11628-9","type":"journal-article","created":{"date-parts":[[2024,11,13]],"date-time":"2024-11-13T18:32:47Z","timestamp":1731522767000},"page":"347-373","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":19,"title":["An Optimized Approach for Detection and Classification of Spam Email\u2019s Using Ensemble Methods"],"prefix":"10.1007","volume":"139","author":[{"given":"Rubab","family":"Fatima","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mian Muhammad Sadiq","family":"Fareed","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Saleem","family":"Ullah","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gulnaz","family":"Ahmad","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Saqib","family":"Mahmood","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,11,13]]},"reference":[{"key":"11628_CR1","first-page":"2022","volume":"1\u201319","author":"N Ahmed","year":"2022","unstructured":"Ahmed, N., Amin, R., Aldabbas, H., Koundal, D., Alouffi, B., & Shah, T. (2022). Machine learning techniques for spam detection in email and IoT platforms: Analysis and research challenges. Security and Communication Networks, 1\u201319, 2022.","journal-title":"Security and Communication Networks"},{"issue":"1","key":"11628_CR2","doi-asserted-by":"publisher","first-page":"39","DOI":"10.5120\/1974-2646","volume":"16","author":"WA Awad","year":"2011","unstructured":"Awad, W. A., & ELseuofi, S. M. (2011). Machine learning methods for e-mail classification. International Journal of Computer Applications, 16(1), 39\u201345.","journal-title":"International Journal of Computer Applications"},{"key":"11628_CR3","doi-asserted-by":"crossref","unstructured":"Bahgat, E.\u00a0M., Rady, S., & Gad, W. (2015). An e-mail filtering approach using classification techniques. In The 1st international conference on advanced intelligent system and informatics (AISI2015), November 28\u201330, Beni Suef, Egypt (pp. 321\u2013331). Springer.","DOI":"10.1007\/978-3-319-26690-9_29"},{"key":"11628_CR4","unstructured":"Banday, M. T., & Jan, T.\u00a0R. (2009). Effectiveness and limitations of statistical spam filters. arXiv preprint arXiv:0910.2540"},{"issue":"6","key":"11628_CR5","doi-asserted-by":"publisher","first-page":"631","DOI":"10.1016\/j.ipm.2009.05.005","volume":"45","author":"N Bouguila","year":"2009","unstructured":"Bouguila, N., & Amayri, O. (2009). A discrete mixture-based kernel for SVMs: Application to spam and image categorization. Information Processing & Management, 45(6), 631\u2013642. https:\/\/doi.org\/10.1016\/j.ipm.2009.05.005. ISSN 0306-4573.","journal-title":"Information Processing & Management"},{"issue":"1","key":"11628_CR6","doi-asserted-by":"publisher","first-page":"5","DOI":"10.1023\/A:1010933404324","volume":"45","author":"L Breiman","year":"2001","unstructured":"Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5\u201332. https:\/\/doi.org\/10.1023\/A:1010933404324. ISSN 1573-0565.","journal-title":"Machine Learning"},{"key":"11628_CR7","doi-asserted-by":"publisher","unstructured":"Cao, Y., Liao, X., & Li, Y. An e-mail filtering approach using neural network. In International symposium on neural networks (pp. 688\u2013694). Springer. https:\/\/doi.org\/10.1007\/978-3-540-28648-6_110","DOI":"10.1007\/978-3-540-28648-6_110"},{"key":"11628_CR8","doi-asserted-by":"crossref","unstructured":"Chen, T., & Guestrin, C. (2016). Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM Sigkdd international conference on knowledge discovery and data mining (kdd\u201916), San Francisco, CA (pp. 785\u2013794).","DOI":"10.1145\/2939672.2939785"},{"issue":"09","key":"11628_CR9","doi-asserted-by":"publisher","first-page":"3126","DOI":"10.26438\/ijsrcse\/v6i2.3337","volume":"2","author":"V Christina","year":"2010","unstructured":"Christina, V., Karpagavalli, S., & Suganya, G. (2010). Email spam filtering using supervised machine learning techniques. International Journal on Computer Science and Engineering (IJCSE), 2(09), 3126\u20133129. https:\/\/doi.org\/10.26438\/ijsrcse\/v6i2.3337","journal-title":"International Journal on Computer Science and Engineering (IJCSE)"},{"key":"11628_CR10","unstructured":"Criminal\u00a0Lawyer Group. (2015). The email spamming, a cybercrime? A time massacre? Mar 13."},{"issue":"6","key":"11628_CR11","doi-asserted-by":"publisher","DOI":"10.1016\/j.heliyon.2019.e01802","volume":"5","author":"EG Dada","year":"2019","unstructured":"Dada, E. G., Bassi, J. S., Chiroma, H., Adetunmbi, A. O., & Ajibuwa, O. E. (2019). Machine learning for email spam filtering: Review, approaches and open research problems. Heliyon, 5(6), e01802. https:\/\/doi.org\/10.1016\/j.heliyon.2019.e01802. ISSN 2405-8440.","journal-title":"Heliyon"},{"key":"11628_CR12","doi-asserted-by":"publisher","unstructured":"Fareed, M. M.\u00a0S., Ahmed, G., Zikria, S., & Jamal, S.\u00a0A. (2024). Bio-ad: A transfer learning approach for diagnosis of Alzheimer\u2019s diseases in MRI scans. Preprints. https:\/\/doi.org\/10.20944\/preprints202408.2010.v1","DOI":"10.20944\/preprints202408.2010.v1"},{"issue":"3","key":"11628_CR13","doi-asserted-by":"publisher","first-page":"722","DOI":"10.1016\/j.dss.2006.11.012","volume":"43","author":"F Fdez-Riverola","year":"2007","unstructured":"Fdez-Riverola, F., Iglesias, E. L., D\u00edaz, F., M\u00e9ndez, J. R., & Corchado, J. M. (2007). Spamhunting: An instance-based reasoning system for spam labelling and filtering. Decision Support Systems, 43(3), 722\u2013736. https:\/\/doi.org\/10.1016\/j.dss.2006.11.012. ISSN 0167-9236.","journal-title":"Decision Support Systems"},{"key":"11628_CR14","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.1330977","author":"GL Foresti","year":"2007","unstructured":"Foresti, G. L., Boinee, P., & De Angelis, A. (2007). Meta random forests. International Journal of Computer and Information Engineering. https:\/\/doi.org\/10.5281\/zenodo.1330977","journal-title":"International Journal of Computer and Information Engineering"},{"key":"11628_CR15","doi-asserted-by":"publisher","first-page":"1189","DOI":"10.1214\/aos\/1013203451","volume":"29","author":"JH Friedman","year":"2001","unstructured":"Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics, 29, 1189\u20131232.","journal-title":"Annals of Statistics"},{"key":"11628_CR16","unstructured":"FuchsMichaelAndi. (2019). Introduction to SGD classifier, Nov 11."},{"issue":"1","key":"11628_CR17","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/s10994-006-6226-1","volume":"63","author":"P Geurts","year":"2006","unstructured":"Geurts, P., Ernst, D., & Wehenkel, L. (2006). Extremely randomized trees. Machine Learning, 63(1), 3\u201342. https:\/\/doi.org\/10.1007\/s10994-006-6226-1. ISSN 1573-0565.","journal-title":"Machine Learning"},{"key":"11628_CR18","doi-asserted-by":"publisher","first-page":"187914","DOI":"10.1109\/ACCESS.2020.3030751","volume":"8","author":"S Gibson","year":"2020","unstructured":"Gibson, S., Issac, B., Zhang, L., & Jacob, S. M. (2020). Detecting spam email with machine learning optimized with bio-inspired metaheuristic algorithms. IEEE Access, 8, 187914\u2013187932. https:\/\/doi.org\/10.1109\/ACCESS.2020.3030751. ISSN 2169-3536.","journal-title":"IEEE Access"},{"issue":"7","key":"11628_CR19","doi-asserted-by":"publisher","first-page":"10206","DOI":"10.1016\/j.eswa.2009.02.037","volume":"36","author":"TS Guzella","year":"2009","unstructured":"Guzella, T. S., & Caminhas, W. M. (2009). A review of machine learning approaches to spam filtering. Expert Systems with Applications, 36(7), 10206\u201310222. https:\/\/doi.org\/10.1016\/j.eswa.2009.02.037. ISSN 0957-4174.","journal-title":"Expert Systems with Applications"},{"key":"11628_CR20","doi-asserted-by":"publisher","DOI":"10.1155\/2022\/7710005","volume":"2022","author":"SSI Ismail","year":"2022","unstructured":"Ismail, S. S. I., Mansour, R. F., Abd El-Aziz, R. M., Taloba, A. I., et al. (2022). Efficient e-mail spam detection strategy using genetic decision tree processing with NLP features. Computational Intelligence and Neuroscience, 2022, 771005.","journal-title":"Computational Intelligence and Neuroscience"},{"key":"11628_CR21","unstructured":"Jamal, U.\u00a0A. (2024). Enhanced semantic graph based approach with sentiment analysis for user interest retrieval from social sites. arXiv:2408.04395"},{"key":"11628_CR22","unstructured":"Jamal, S.\u00a0A., & Aribisala, A. (2023). Data fusion for multi-task learning of building extraction and height estimation. arXiv:2308.02960"},{"key":"11628_CR23","unstructured":"Javatpoint. (2021). Support vector machine algorithm."},{"key":"11628_CR24","unstructured":"Kaggle. (2019a). Ling-spam dataset."},{"key":"11628_CR25","unstructured":"Kaggle. (2019b). SMS spam collection dataset."},{"key":"11628_CR26","doi-asserted-by":"publisher","unstructured":"Li, W., Zhong, N., Yao, Y. Y., Liu, J., & Liu, C. (2007). Spam filtering and email-mediated applications. In International workshop on web intelligence meets brain informatics (pp. 382\u2013405). Springer. https:\/\/doi.org\/10.1007\/978-3-540-77028-2_23","DOI":"10.1007\/978-3-540-77028-2_23"},{"key":"11628_CR27","doi-asserted-by":"publisher","first-page":"1077","DOI":"10.3389\/fgene.2019.01077","volume":"10","author":"W Li","year":"2019","unstructured":"Li, W., Yin, Y., Quan, X., & Zhang, H. (2019). Gene expression value prediction based on XGBoost algorithm. Frontiers in Genetics, 10, 1077. https:\/\/doi.org\/10.3389\/fgene.2019.01077","journal-title":"Frontiers in Genetics"},{"key":"11628_CR28","doi-asserted-by":"publisher","unstructured":"Lueg, C. P. (2005). From spam filtering to information retrieval and back: Seeking conceptual foundations for spam filtering. In Proceedings of the American society for information science and technology (vol. 42, no. 1). https:\/\/doi.org\/10.1002\/meet.14504201146","DOI":"10.1002\/meet.14504201146"},{"key":"11628_CR29","doi-asserted-by":"publisher","unstructured":"M\u00e9ndez, J. R., Fdez-Riverola, F., D\u00edaz, F., Iglesias, E.\u00a0L., & Corchado, J.\u00a0M. (2006). A comparative performance study of feature selection methods for the anti-spam filtering domain. In Industrial conference on data mining (pp. 106\u2013120). Springer. https:\/\/doi.org\/10.1007\/11790853_9","DOI":"10.1007\/11790853_9"},{"issue":"1","key":"11628_CR30","first-page":"43","volume":"6","author":"S Mohammed","year":"2013","unstructured":"Mohammed, S., Mohammed, O., Fiaidhi, J., Fong, S., & Kim, T. H. (2013). Classifying unsolicited bulk email (UBE) using python machine learning techniques. International Journal of Hybrid Information Technology, 6(1), 43\u201356. ISSN 1738-9968.","journal-title":"International Journal of Hybrid Information Technology"},{"key":"11628_CR31","unstructured":"Nusrat, M.\u00a0O., Habib, Z., Alam, M., & Jamal, S.\u00a0A. (2023). Emoji prediction in tweets using Bert. arXiv:2307.2054"},{"issue":"19","key":"11628_CR32","doi-asserted-by":"publisher","first-page":"6878","DOI":"10.3390\/app10196878","volume":"10","author":"A Nusrat","year":"2020","unstructured":"Nusrat, A., Gabriel, H. F., Haider, S., Ahmad, S., Shahid, M., & Jamal, S. A. (2020). Application of machine learning techniques to delineate homogeneous climate zones in river basins of Pakistan for hydro-climatic change impact studies. Applied Sciences, 10(19), 6878. https:\/\/doi.org\/10.3390\/app10196878","journal-title":"Applied Sciences"},{"issue":"3","key":"11628_CR33","doi-asserted-by":"publisher","first-page":"1971","DOI":"10.3390\/app13031971","volume":"13","author":"TO Omotehinwa","year":"2023","unstructured":"Omotehinwa, T. O., & Oyewola, D. O. (2023). Hyperparameter optimization of ensemble models for spam email detection. Applied Sciences, 13(3), 1971.","journal-title":"Applied Sciences"},{"key":"11628_CR34","doi-asserted-by":"publisher","unstructured":"Pelletier, L., Almhana, J., & Choulakian, V. (2004). Adaptive filtering of spam. In Proceedings: 2nd annual conference on communication networks and services research (pp. 218\u2013224). IEEE. https:\/\/doi.org\/10.1109\/DNSR.2004.1344731","DOI":"10.1109\/DNSR.2004.1344731"},{"issue":"15","key":"11628_CR35","doi-asserted-by":"publisher","first-page":"8756","DOI":"10.3390\/app13158756","volume":"13","author":"Q Qi","year":"2023","unstructured":"Qi, Q., Wang, Z., Yijia, X., Fang, Y., & Wang, C. (2023). Enhancing phishing email detection through ensemble learning and undersampling. Applied Sciences, 13(15), 8756.","journal-title":"Applied Sciences"},{"key":"11628_CR36","unstructured":"Rakotomalala, R. Tanagra: A free software for research and academic purposes. In Proceedings of EGC (vol.\u00a02, pp. 697\u2013702)."},{"key":"11628_CR37","unstructured":"ResearchGate. (2020). Logistic regression model."},{"key":"11628_CR38","unstructured":"Sakkis, G., Androutsopoulos, I., Paliouras, G., Karkaletsis, V., Spyropoulos, C.\u00a0D., & Stamatopoulos, P. (2001). Stacking classifiers for anti-spam filtering of e-mail. arXiv preprint arXiv:cs\/0106040"},{"key":"11628_CR39","unstructured":"Sawla, S. (2018). Introduction to Naive Bayes for classification. Accessed Oct 9 2019."},{"key":"11628_CR40","doi-asserted-by":"publisher","unstructured":"Schneider, K. -M. A comparison of event models for Naive Bayes anti-spam e-mail filtering. In 10th conference of the European chapter of the association for computational linguistics. https:\/\/doi.org\/10.3115\/1067807.1067848","DOI":"10.3115\/1067807.1067848"},{"key":"11628_CR41","unstructured":"Scikit-learn 1.0.2. Stochastic gradient descent."},{"key":"11628_CR42","doi-asserted-by":"publisher","first-page":"15","DOI":"10.3389\/fdata.2020.00015","volume":"3","author":"A Sharma","year":"2020","unstructured":"Sharma, A., & Verbeke, W. J. M. I. (2020). Improving diagnosis of depression with XGBoost machine learning model and a large biomarkers Dutch dataset (n= 11,081). Frontiers in Big Data, 3, 15. https:\/\/doi.org\/10.3389\/fdata.2020.00015","journal-title":"Frontiers in Big Data"},{"key":"11628_CR43","unstructured":"Shcherbakova, T., & Kulikova, T. (2021). Spam and phishing in q3 2021."},{"key":"11628_CR44","doi-asserted-by":"publisher","unstructured":"Singh, G., Kumar, B., Gaur, L., & Tyagi, A. Comparison between multinomial and Bernoulli Na\u00efve Bayes for text classification. In 2019 international conference on automation, computational and technology management (ICACTM) (pp. 593\u2013596). IEEE. https:\/\/doi.org\/10.1109\/ICACTM.2019.8776800","DOI":"10.1109\/ICACTM.2019.8776800"},{"key":"11628_CR45","doi-asserted-by":"publisher","unstructured":"Taloba, A.\u00a0I. & Ismail, S. S. I. An intelligent hybrid technique of decision tree and genetic algorithm for e-mail spam detection. In 2019 9th international conference on intelligent computing and information systems (ICICIS) (pp. 99\u2013104). IEEE. https:\/\/doi.org\/10.1109\/ICICIS46948.2019.9014756","DOI":"10.1109\/ICICIS46948.2019.9014756"},{"issue":"3","key":"11628_CR46","first-page":"17","volume":"3","author":"F Temitayo","year":"2012","unstructured":"Temitayo, F., Stephen, O., & Abimbola, A. (2012). Hybrid GA-SVM for efficient feature selection in e-mail classification. Computer Engineering and Intelligent Systems, 3(3), 17\u201328.","journal-title":"Computer Engineering and Intelligent Systems"},{"issue":"1","key":"11628_CR47","first-page":"11","volume":"13","author":"ZS Torabi","year":"2015","unstructured":"Torabi, Z. S., Nadimi-Shahraki, M. H., & Nabiollahi, A. (2015). Efficient support vector machines for spam detection: A survey. International Journal of Computer Science and Information Security, 13(1), 11. ISSN 1947-5500.","journal-title":"International Journal of Computer Science and Information Security"},{"key":"11628_CR48","doi-asserted-by":"publisher","unstructured":"Wang, X. -L. Learning to classify email: A survey. In 2005 international conference on machine learning and cybernetics (vol.\u00a09, pp. 5716\u20135719). IEEE. https:\/\/doi.org\/10.1109\/ICMLC.2005.1527956","DOI":"10.1109\/ICMLC.2005.1527956"},{"key":"11628_CR49","unstructured":"Wikipedia. (2021). Multilayer perceptron."}],"container-title":["Wireless Personal Communications"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11277-024-11628-9.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s11277-024-11628-9\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11277-024-11628-9.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,11,26]],"date-time":"2024-11-26T12:26:05Z","timestamp":1732623965000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s11277-024-11628-9"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,11]]},"references-count":49,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2024,11]]}},"alternative-id":["11628"],"URL":"https:\/\/doi.org\/10.1007\/s11277-024-11628-9","relation":{"has-preprint":[{"id-type":"doi","id":"10.21203\/rs.3.rs-2051142\/v1","asserted-by":"object"}]},"ISSN":["0929-6212","1572-834X"],"issn-type":[{"value":"0929-6212","type":"print"},{"value":"1572-834X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,11]]},"assertion":[{"value":"21 September 2024","order":1,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"13 November 2024","order":2,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no conflict of interest.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}}]}}