IDEAS home Printed from https://ideas.repec.org/a/epw/ejece0/v6y2022i2id19409.html

An Ensemble Machine Learning Approach for Fake News Detection and Classification Using a Soft Voting Classifier

Author

Listed:
  • Y. B. Lasotte
  • E. J. Garba
  • Y. M. Malgwi
  • M. A. Buhari

Abstract

Fake news has grown in popularity and spread as a result of increased insecurity, political events, and pandemics, among other things. This study used an ensemble machine learning technique to better predict fake news on social media based on the content of news articles. The proposed model used a soft voting classifier to aggregate four machine learning algorithms, namely, Naïve Bayes, Support Vector Machine (SVM), and Logistic Regression, for the classification of news articles as fake or real. GridSearchCV was used to fine-tune the algorithms to get the optimal results during the training process. A Kaggle dataset was used for the experiment; it was comprised of both false and true news. Performance evaluation metrics were used to measure the performance of the base learners and our proposed ensemble technique on the dataset. The results of our experiment show that the proposed ensemble approach produced the highest accuracy, precision, recall, and F1_score values of 93%, 94%, 92%, and 93%, respectively, on the dataset as compared to the individual learners. This approach may also be used in other classification techniques for spam detection, sentiment analysis, and prediction of loan eligibility, among other things.

Suggested Citation

  • Y. B. Lasotte & E. J. Garba & Y. M. Malgwi & M. A. Buhari, 2022. "An Ensemble Machine Learning Approach for Fake News Detection and Classification Using a Soft Voting Classifier," European Journal of Electrical Engineering and Computer Science, European Open Science, vol. 6(2), pages 1-7, March.
  • Handle: RePEc:epw:ejece0:v:6:y:2022:i:2:id:19409
    DOI: 10.24018/ejece.2022.6.2.409
    as

    Download full text from publisher

    File URL: https://eu-opensci.org/index.php/ejece/article/view/19409
    File Function: Abstract page
    Download Restriction: no

    File URL: https://eu-opensci.org/index.php/ejece/article/download/19409/11239
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.24018/ejece.2022.6.2.409?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Zhang, Yaming & Su, Yanyuan & Weigang, Li & Liu, Haiou, 2018. "Rumor and authoritative information propagation model considering super spreading in complex social networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 506(C), pages 395-411.
    2. Iftikhar Ahmad & Muhammad Yousaf & Suhail Yousaf & Muhammad Ovais Ahmad, 2020. "Fake News Detection Using Machine Learning Ensemble Methods," Complexity, Hindawi, vol. 2020, pages 1-11, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Xuefeng Yue & Liangan Huo, 2022. "Analysis of the Stability and Optimal Control Strategy for an ISCR Rumor Propagation Model with Saturated Incidence and Time Delay on a Scale-Free Network," Mathematics, MDPI, vol. 10(20), pages 1-20, October.
    2. Lian, Ying & Liu, Yijun & Dong, Xuefan, 2020. "Strategies for controlling false online information during natural disasters: The case of Typhoon Mangkhut in China," Technology in Society, Elsevier, vol. 62(C).
    3. Ayyoob Sharifi & Amir Reza Khavarian-Garmsir & Rama Krishna Reddy Kummitha, 2021. "Contributions of Smart City Solutions and Technologies to Resilience against the COVID-19 Pandemic: A Literature Review," Sustainability, MDPI, vol. 13(14), pages 1-28, July.
    4. Muhammad Shahzaib Toor & Hooria Shahbaz & Muddasar Yasin & Armughan Ali & Norma Latif Fitriyani & Changgyun Kim & Muhammad Syafrudin, 2025. "An Optimized Weighted-Voting-Based Ensemble Learning Approach for Fake News Classification," Mathematics, MDPI, vol. 13(3), pages 1-23, January.
    5. Andreea Nistor & Eduard Zadobrischi, 2022. "The Influence of Fake News on Social Media: Analysis and Verification of Web Content during the COVID-19 Pandemic by Advanced Machine Learning Methods and Natural Language Processing," Sustainability, MDPI, vol. 14(17), pages 1-24, August.
    6. Dost Muhammad & Iftikhar Ahmed & Khwaja Naveed & Malika Bendechache, 2025. "Explainable AI Models for Decoding Emotional Subtexts on Social Media," Complexity, John Wiley & Sons, vol. 2025(1).
    7. Zhang, Yi & Xu, Jiuping & Nekovee, Maziar & Li, Zongmin, 2022. "The impact of official rumor-refutation information on the dynamics of rumor spread," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 607(C).
    8. Syed Muhammad Hamza, 2024. "Performance Evaluation of Fake News Detection Using Artificial Intelligence Techniques," International Journal of Innovations in Science & Technology, 50sea, vol. 6(2), pages 739-753, June.
    9. Ozbay, Feyza Altunbey & Alatas, Bilal, 2020. "Fake news detection within online social media using supervised artificial intelligence algorithms," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 540(C).
    10. Sang, Chun-Yan & Liao, Shi-Gen, 2020. "Modeling and simulation of information dissemination model considering user’s awareness behavior in mobile social networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 537(C).
    11. Saqib, Sana Ullah & Shih, Yin-Tzer & Anjum, Muhammad Wajahat & Shoaib, Muhammad, 2026. "Advanced heuristic computing with Gudermannian neural networks for mathematical modeling of divorced dynamics in social networks," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 239(C), pages 745-765.
    12. Mohammed N. Alenezi & Zainab M. Alqenaei, 2021. "Machine Learning in Detecting COVID-19 Misinformation on Twitter," Future Internet, MDPI, vol. 13(10), pages 1-20, September.
    13. Jiadi Liu & Zhuodong Liu & Qiaoqi Li & Weihao Kong & Xiangyu Li, 2025. "Multi-Domain Controversial Text Detection Based on a Machine Learning and Deep Learning Stacked Ensemble," Mathematics, MDPI, vol. 13(9), pages 1-25, May.
    14. Nadejda Komendantova & Dmitry Erokhin, 2025. "Artificial Intelligence Tools in Misinformation Management during Natural Disasters," Public Organization Review, Springer, vol. 25(1), pages 81-105, March.
    15. An, Xuming & Ding, Li & Hu, Ping, 2020. "Information propagation with individual attention-decay effect on activity-driven networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 556(C).
    16. Zhang, Jing & Wang, Xiaoli & Xie, Yanxi & Wang, Meihua, 2022. "Research on multi-topic network public opinion propagation model with time delay in emergencies," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 600(C).
    17. Lu, Peng, 2019. "Heterogeneity, judgment, and social trust of agents in rumor spreading," Applied Mathematics and Computation, Elsevier, vol. 350(C), pages 447-461.
    18. Amit Neil Ramkissoon & Wayne Goodridge, 2022. "Enhancing the Predictive Performance of Credibility-Based Fake News Detection Using Ensemble Learning," The Review of Socionetwork Strategies, Springer, vol. 16(2), pages 259-289, October.
    19. Lara Aslan & Michal Ptaszynski & Jukka Jauhiainen, 2024. "Are Strong Baselines Enough? False News Detection with Machine Learning," Future Internet, MDPI, vol. 16(9), pages 1-32, September.
    20. Lu, Peng & Deng, Liping & Liao, Hongbing, 2019. "Conditional effects of individual judgment heterogeneity in information dissemination," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 523(C), pages 335-344.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:epw:ejece0:v:6:y:2022:i:2:id:19409. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: support (email available below). General contact details of provider: https://eu-opensci.org/index.php/ejece .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.