Sinkron : Jurnal dan Penelitian Teknik Informatika
Vol. 10 No. 4 (2026): Research Articles October 2026

Predicting E-Commerce Greenwashing Using Random Forest Machine Learning: Legal Analysis and Marketing Management Strategies

Firman Syahputra (Universitas Battuta)
Juliya Maria (Universitas Battuta)
Hilda Elsera Br Sembiring (Unknown)



Article Info

Publish Date
05 Oct 2026

Abstract

The rapid growth of e-commerce and the increasing use of environmental claims in product marketing have created challenges in identifying potentially misleading green marketing communication. This study aims to develop a machine learning framework for predicting greenwashing indications in e-commerce products and interpreting the findings from consumer protection and sustainable marketing perspectives. A dataset of 610 products from Shopee and Tokopedia was independently annotated and validated by two annotators. Product descriptions were processed using Natural Language Processing (NLP) and represented using Term Frequency–Inverse Document Frequency (TF-IDF) with unigram and bigram features. Random Forest was employed as the primary classifier, while Support Vector Machine (SVM) and Multinomial Naive Bayes were used as benchmark models. A leakage-safe feature engineering configuration was additionally evaluated. Model performance was assessed using Accuracy, Precision, Recall, F1-score, confusion matrices, and 5-fold stratified cross-validation. On the independent test set, Random Forest with TF-IDF achieved the highest Accuracy (92.62%) and F1-score (95.81%), while 5-fold cross-validation showed that Random Forest with TF-IDF and Strict Feature Engineering achieved the highest mean Accuracy (95.49%) and F1-score (97.42%). Feature importance analysis identified textual structure and specific lexical patterns as predictive signals associated with model decisions. The findings indicate that the proposed framework can support early screening of potentially misleading environmental claims, consumer protection assessment, and more transparent and verifiable green marketing practices. However, model predictions represent predictive signals rather than causal evidence or legal determinations and require further factual and contextual verification

Copyrights © 2026






Journal Info

Abbrev

sinkron

Publisher

Subject

Computer Science & IT

Description

Scope of SinkrOns Scientific Discussion 1. Machine Learning 2. Cryptography 3. Steganography 4. Digital Image Processing 5. Networking 6. Security 7. Algorithm and Programming 8. Computer Vision 9. Troubleshooting 10. Internet and E-Commerce 11. Artificial Intelligence 12. Data Mining 13. Artificial ...