Comparative Analysis of Machine Learning Algorithms for Enhancing Social Media Marketing and Decision-Making in Kenyan SMEs.

Authors

  • Christopher Mwololo Fred Murang'a University of Technology Author

DOI:

https://doi.org/10.59413/ajocs/v6.i.1.4

Keywords:

SMEs in Kenya, social media marketing, machine learning algorithms, campaign optimization, consumer segmentation

Abstract

Small and medium-sized enterprises (SMEs) in Kenya are crucial to the nation's economic advancement, yet they sometimes have difficulties competing in a rapidly digitalizing market due to limited resources and inadequate marketing strategies. Social media platforms such as Facebook, Instagram, and X (formerly Twitter) are essential tools for cost-effective marketing; nevertheless, many SMEs fail to leverage their potential due to a lack of data-driven strategy. Machine Learning (ML) algorithms offer a transformative method for SMEs to examine social media data, enhance campaigns, and refine decision-making. This research conducts a comparative analysis of five prominent machine learning algorithms: Logistic Regression, Decision Trees, Random Forests, Support Vector Machines (SVM), and Neural Networks, with the objective of improving social media marketing campaigns and decision-making for SMEs in Kenya. The researchers assess the effectiveness of these algorithms in critical marketing functions, including consumer segmentation, sentiment analysis, and campaign optimization. A dataset comprising engagement indicators, customer profiles, and campaign performance metrics from Kenyan SMEs was used to evaluate the algorithms' accuracy, precision, recall, F1 score, and computational efficiency. The findings demonstrate that Random Forests strike a balance between accuracy and computational efficiency, making them a feasible choice for small and medium-sized enterprises with constrained resources. Logistic Regression is cost-effective and suitable for basic jobs, while Neural Networks are proficient at handling unstructured data but require significant computer resources. Decision trees, despite being understandable and user-friendly, are prone to overfitting, whereas support vector machines, although effective for small datasets, require significant computational resources for large-scale applications. The research indicates that significant challenges, such as insufficient technical expertise, elevated computing expenses, and data privacy issues, hinder the use of machine learning by small and medium-sized enterprises in Kenya. It also highlights the potential of cloud-based machine learning platforms, support from the government and private sectors for SME training, and partnerships to improve the accessibility of machine learning solutions. This research contributes to the growing body of knowledge on the application of ML in marketing and provides actionable recommendations for Kenyan SMEs to harness ML technologies for improved social media marketing and informed decision-making.

Downloads

Download data is not yet available.

References

Alice, Sadiku Ifeoluwa, and Olaoluwa Diallo Ebuka., "he Potential and Challenges of AI Adoption in Marketing Across Africa: Opportunities for Digital Transformation," Business and Investment Review, vol. 2, no. 6, 2024.

Choudhury, Arghya, Arpita Mondal, and Subhadeep Sarkar, "Searches for the BSM scenarios at the LHC using decision tree-based machine learning algorithms: a comparative study and review of random forest, AdaBoost, XGBoost, and LightGBM frameworks.," The European Physical Journal Special Topics, pp. 1-39, 2024. DOI: https://doi.org/10.1140/epjs/s11734-024-01308-x

Dinesh, Paidipati, A. S. Vickram, and P. Kalyanasundaram, "Medical image prediction for diagnosis of breast cancer disease comparing the machine learning algorithms: SVM, KNN, logistic regression, random forest and decision tree to measure accuracy," AIP Conference Proceedings, vol. 2853, no. 1, 2024. DOI: https://doi.org/10.1063/5.0203746

Dixit, Dheeraj Kumar, Amit Bhagat, and Dharmendra Dangi,"A comparative analysis for detecting fake news using supervised learning algorithms," AIP Conference Proceedings, vol. 2900, no. 1, 2024. DOI: https://doi.org/10.1063/5.0207178

Eng’airo, Pamela, "The Impact of AI-Driven Performance Evaluation on Organizational Outcomes in Kenya: A Systematic Literature Review," Journal of Information and Technology, vol. 8, no. 2, pp. 1-15, 2024. DOI: https://doi.org/10.53819/81018102t7040

Gajula, Srinivasarao, and V. Rajesh, "An MRI brain tumour detection using logistic regression-based machine learning model," International Journal of System Assurance Engineering and Management, vol. 15, no. 1, pp. 124-134, 2024. DOI: https://doi.org/10.1007/s13198-022-01680-8

Jayadatta, S., and Mohammed Majeed, "An insight into the consequences of digitalization and digital technologies for small and medium enterprises (SMEs) in Africa.," Digital Transformation in African SMEs: Emerging Issues and Trends, vol. 2, p. 73, 2024. DOI: https://doi.org/10.2174/9789815223347124020007

Majeed, Mohammed, Abdul-Razak Abubakari, and Awini Gideon, "Digital Transformation in African SMEs: Emerging Issues and Trends", Bentham Science Publishers, 2024. DOI: https://doi.org/10.2174/97898152233781240301

Modhugu, Venugopal Reddy, and Sivakumar Ponnusamy,"Comparative Analysis of Machine Learning Algorithms for Liver Disease Prediction: SVM, Logistic Regression, and Decision Tree," Asian Journal of Research in Computer Science, vol. 17, no. 6, pp. 188-201, 2024. DOI: https://doi.org/10.9734/ajrcos/2024/v17i6467

Mothapo, Mohloding, Bonginkosi Thango, and Matshaka Lerato "Tracking and Measuring Social Media Activity: Key Metrics for SME Strategic Success - A Systematic Review," SSRN (Social Science Research Network), 2024. DOI: https://doi.org/10.2139/ssrn.4992468

Mridula, B., A. Hency Juliet, and N. Legapriyadharshini, "Deciphering Social Media Sentiment for Enhanced Analytical Accuracy: Leveraging Random Forest, KNN, and Naive Bayes," 10th International Conference on Communication and Signal Processing (ICCSP), 2024. DOI: https://doi.org/10.1109/ICCSP60870.2024.10543836

Ontor, Md Risalat Hossain, et al. "Leveraging Digital Transformation and Social Media Analytics for Optimizing US Fashion Brands' Performance:A Machine Learning Approach.," American Research Index Library, pp. 45-56, 2024. DOI: https://doi.org/10.55640/ijcsis/Volume09Issue11-05

Opoku, Eric, Abla Akpene Kossidze, and Olamilekan Samuel Lawal, "Predictive analytics, operational efficiency, and revenue growth in SMEs in Africa," World Journal of Advanced Research and Reviews, vol. 23, no. 3, pp. 2281-2291, 2024. DOI: https://doi.org/10.30574/wjarr.2024.23.3.2696

Ramdas, Soorya, and Neenu NT Agnes, "Leveraging Machine Learning for Fraudulent Social Media Profile Detection.," Cybernetics and Information Technologies., vol. 24, no. 1, pp. 118-136, 2024. DOI: https://doi.org/10.2478/cait-2024-0007

Sudhakar, M and K. P. Kaliyamurthie, "Detection of fake news from social media using support Vector machine learning algorithms," Measurement: Sensors, vol. 32, p. 101028, 2024. DOI: https://doi.org/10.1016/j.measen.2024.101028

Sunarya, Po Abas, et al, "Deciphering digital social dynamics:A comparative study of logistic regression and random forest in predicting e-commerce customer behavior.," Journal of Applied Data Sciences., vol. 5, no. 1, pp. 100-113, 2024. DOI: https://doi.org/10.47738/jads.v5i1.155

Yu, Bole, "Comparative analysis of machine learning algorithms for sentiment classification in Amazon reviews," Highlights in Business, Economics and Management, vol. 24, pp. 1389-1400, 2024. DOI: https://doi.org/10.54097/eqmavw44

Downloads

Published

2025-01-07

How to Cite

Fred, C. (2025). Comparative Analysis of Machine Learning Algorithms for Enhancing Social Media Marketing and Decision-Making in Kenyan SMEs. African Journal of Commercial Studies, 6(1), 39-52. https://doi.org/10.59413/ajocs/v6.i.1.4

Article PlumX Metrics

PlumX Metrics