Melola Discovery

← Melola Discovery

Open access Jurnal SINTA 3

COMPARISON OF RANDOM FOREST AND NAÏVE BAYES CLASSIFIER METHODS IN SENTIMENT ANALYSIS ON CLIMATE CHANGE ISSUE

BAREKENG: Jurnal Ilmu Matematika dan Terapan · Vol. 17 No. 3 (2023) · pp. 1439–1448

DOI
10.30598/barekengvol17iss3pp1439-1448
ISSN
2615-3017, 1978-7227
Published
2023-09-30
Publisher
PATTIMURA UNIVERSITY
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

The last decade was recorded as a decade with a bad record on the issue of disasters in the world due to climate change. Measuring public opinion is one of the steps to mitigate the impact of climate change. Twitter is a popular social media for channeling opinions. Twitter provides a great source of data for understanding public opinion and the perceived risk of an issue. In recent decades, when discussing climate change, there are those who agree and those who oppose it. Sentiment analysis is a branch of learning in the realm of text mining that is used as a solution to see opinions on a problem, one of which is climate change. In this study, we will try to analyze opinions on climate change issues using the Random Forest and Naïve Bayes classifier methods. Data were obtained from Twitter for the period January 2022-June 2022. The training data used in this research is 80%:20%. There are slightly more positive statements than negative ones. The results obtained with the Naïve Bayes classifier method are an accuracy of 76.25%, an F-1 score of 78%, and a recall of 80%. While the results of the random forest method are 70.6% accuracy, 69% F-1 score, and 63% recall. The Nive Bayes method is better than the Random Forest method for classifying climate change opinions with an accuracy of 76.25%.

Collaboration network of the authors

17 authors · 37 co-authorship links

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Universitas Muhammadiyah Semarang
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Endang Tri Wahyuni MaharaniAffiliation unknown2
Alwan FadlurohmanAffiliation unknown2
Indah Manfaati NurAffiliation unknown1
Rifqi NugrahantoAffiliation unknown1
Muhammad Sam’anUniversitas Muhammadiyah Semarang1
M Al HarisAffiliation unknown1
Wulan SariAffiliation unknown1
Setiawan AmrullahAffiliation unknown1
Nila Ayu Nur RoosyidahAffiliation unknown1
Oktaviana Rahma DhaniAffiliation unknown1
Prizka Rismawati ArumAffiliation unknown1
Diandra Fatimahthus ZahraAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://ojs3.unpatti.ac.id/index.php/barekeng/oai, first harvested 5 Nov 2026, last seen 5 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">COMPARISON OF RANDOM FOREST AND NAÏVE BAYES CLASSIFIER METHODS IN SENTIMENT ANALYSIS ON CLIMATE CHANGE ISSUE</dc:title>
	<dc:creator>Fauzi, Fatkhurokhman</dc:creator>
	<dc:creator>Setiayani, Wiwik</dc:creator>
	<dc:creator>Utami, Tiani Wahyu</dc:creator>
	<dc:creator>Yuliyanto, Eko</dc:creator>
	<dc:creator>Harmoko, Iis Widya</dc:creator>
	<dc:description xml:lang="en-US">The last decade was recorded as a decade with a bad record on the issue of disasters in the world due to climate change. Measuring public opinion is one of the steps to mitigate the impact of climate change. Twitter is a popular social media for channeling opinions. Twitter provides a great source of data for understanding public opinion and the perceived risk of an issue. In recent decades, when discussing climate change, there are those who agree and those who oppose it. Sentiment analysis is a branch of learning in the realm of text mining that is used as a solution to see opinions on a problem, one of which is climate change. In this study, we will try to analyze opinions on climate change issues using the Random Forest and Naïve Bayes classifier methods. Data were obtained from Twitter for the period January 2022-June 2022. The training data used in this research is 80%:20%. There are slightly more positive statements than negative ones. The results obtained with the Naïve Bayes classifier method are an accuracy of 76.25%, an F-1 score of 78%, and a recall of 80%. While the results of the random forest method are 70.6% accuracy, 69% F-1 score, and 63% recall. The Nive Bayes method is better than the Random Forest method for classifying climate change opinions with an accuracy of 76.25%.</dc:description>
	<dc:publisher xml:lang="en-US">PATTIMURA UNIVERSITY</dc:publisher>
	<dc:date>2023-09-30</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/8269</dc:identifier>
	<dc:identifier>10.30598/barekengvol17iss3pp1439-1448</dc:identifier>
	<dc:source xml:lang="en-US">BAREKENG: Jurnal Ilmu Matematika dan Terapan; Vol 17 No 3 (2023): BAREKENG: Journal of Mathematics and Its Applications; 1439-1448</dc:source>
	<dc:source>2615-3017</dc:source>
	<dc:source>1978-7227</dc:source>
	<dc:source>10.30598/barekengvol17iss3year2023</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/8269/6558</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2023 Fatkhurokhman Fauzi, Wiwik Setiayani, Tiani Wahyu Utami, Eko Yulianto, Iis Widya Harmoko</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>