IDEAS home Printed from https://ideas.repec.org/a/cwk/ajocsk/2025-21.html

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

Author

Listed:
  • Christopher Mwololo Fred

    (Murang'a University of Technology)

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 it 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.

Suggested Citation

  • Christopher Mwololo Fred, 2025. "Comparative Analysis of Machine Learning Algorithms for Enhancing Social Media Marketing and Decision-Making in Kenyan SMEs," African Journal of Commercial Studies, African Journal of Commercial Studies, vol. 6(1).
  • Handle: RePEc:cwk:ajocsk:2025-21
    DOI: 10.59413/ajocs/v6.i.1.4
    as

    Download full text from publisher

    File URL: https://ijcsacademia.com/index.php/journal/article/view/144
    Download Restriction: no

    File URL: https://libkey.io/10.59413/ajocs/v6.i.1.4?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
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • M31 - Business Administration and Business Economics; Marketing; Accounting; Personnel Economics - - Marketing and Advertising - - - Marketing
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • L26 - Industrial Organization - - Firm Objectives, Organization, and Behavior - - - Entrepreneurship

    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:cwk:ajocsk:2025-21. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Dr. Charles G. Kamau (email available below). General contact details of provider: https://ijcsacademia.com/index.php/journal .

    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.