• Satyawan Agung Nugroho Universitas Brawijaya
  • Fitra A Bachtiar
  • Randy Cahya Wihandika


Social media is a common thing that people use. Posts or comments found on social media describe someone’s feelings and opinions so there have to be important topics that can be extracted from social media. In the e-commerce field, topic is an interesting thing to know because it can describes people’s opinion towards a product. However, the large number of social media users is currently making the process of finding topics from social media difficult, so computer assistance is needed. One method that can be used is Latent Dirichlet Allocation (LDA). LDA is a good method for extracting topics, but the drawback is that sometimes the topics are incomprehensible. To cover up the drawback, TF-IDF feature selection method is used so that less important words can be skipped so LDA can generate a better topic. The best hyperparameter values ​​obtained were 10 iterations, 10 topics, α and β values consecutively 0,1 and 0,01. The best feature selection percentile value is 90. This value is used to find the threshold that can be used as the lower limit of the TF-IDF value of each word so that the word with greater TF-IDF value can be used as feature.


Download data is not yet available.


[1] O. Müller, R. Jaakonmaki, and J. vom Brocke, “The Impact of Content , Context , and Creator on User Engagement in Social Media Marketing,” Proc. 50th Hawaii Int. Conf. Syst. Sci., 2017.
[2] V. Taecharungroj and B. Mathayomchan, “Analysing TripAdvisor reviews of tourist attractions in Phuket , Thailand,” Tour. Manag., vol. 75, pp. 550–568, 2019.
[3] K. Bastani, H. Namavari, and J. Shaffer, “Latent Dirichlet allocation ( LDA ) for topic modeling of the CFPB consumer complaints,” Expert Syst. Appl., vol. 127, pp. 256–271, 2019.
[4] B. Liu, Sentiment Analysis and Opinion Mining. Morgan&Claypool Publishers, 2012.
[5] T. Hofmann, “Unsupervised Learning by Probabilistic Latent Semantic Analysis,” Mach. Learn., vol. 42, pp. 177–196, 2001.
[6] D. M. Blei, A. Y. Ng, and M. I. Jordan, “Latent Dirichlet Allocation,” J. Mach. Learn. Res., vol. 3, pp. 993–1022, 2003.
[7] Y. Guo, S. J. Barnes, and Q. Jia, “Mining meaning from online ratings and reviews : Tourist satisfaction analysis using latent dirichlet allocation,” Tour. Manag., vol. 59, pp. 467–483, 2017.
[8] D. Mimno, H. M. Wallach, E. Talley, and M. Leenders, “Optimizing Semantic Coherence in Topic Models,” Proc. 2011 Conf. Empir. Methods Nat. Lang. Process., no. 2, pp. 262–272, 2011.
[9] R. Ahuja, A. Chug, S. Kohli, S. Gupta, and P. Ahuja, “The Impact of Features Extraction on the Sentiment Analysis,” Procedia Comput. Sci., vol. 152, pp. 341–348, 2019.
[10] N. C. Wirawan, Indriati, and P. P. Adikara, “Analisis Sentimen Dengan Query Expansion Pada Review Aplikasi M- Banking Menggunakan Metode Fuzzy K-Nearest Neighbor ( Fuzzy k-NN ),” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 2, no. 1, pp. 362–368, 2018.
[11] W. E. Nurjanah, R. S. Perdana, and M. A. Fauzi, “Analisis Sentimen Terhadap Tayangan Televisi Berdasarkan Opini Masyarakat pada Media Sosial Twitter menggunakan Metode K-Nearest Neighbor dan Pembobotan Jumlah Retweet,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 1, no. 12, pp. 1750–1757, 2017.
[12] A. Agustina, “Analisis Dan Visualisasi Suara Pelanggan Pada Pusat Layanan Pelanggan Dengan Pemodelan Topik Menggunakan Latent Dirichlet Allocation (LDA) Studi Kasus: PT. Petrokimia Gresik,” Institut Teknologi Sepuluh November, 2017.
[13] H. Hao, K. Zhang, W. Wang, and G. Gao, “A Tale of Two Countries : International Comparison of Online Doctor Reviews Between China and the United States,” Int. J. Med. Inform., vol. 99, pp. 37–44, 2017
How to Cite
NUGROHO, Satyawan Agung; BACHTIAR, Fitra A; WIHANDIKA, Randy Cahya. ASPECT EXTRACTION IN E-COMMERCE USING LATENT DIRICHLET ALLOCATION (LDA) WITH TERM FREQUENCY-INVERSE DOCUMENT FREQUENCY (TF-IDF). Jurnal Ilmiah Kursor, [S.l.], v. 11, n. 2, p. 53, jan. 2022. ISSN 2301-6914. Available at: <>. Date accessed: 22 jan. 2022. doi: