Melola Discovery

← Melola Discovery

Open access Journal SINTA 3

EARLY DETECTION OF RAINFALL ANOMALIES USING LSTM AND ISOLATION FOREST

BAREKENG: Jurnal Ilmu Matematika dan Terapan · Vol. 20 No. 4 (2026) · pp. 3559–3574

DOI
10.30598/barekengvol20iss4pp3559-3574
ISSN
2615-3017, 1978-7227
Published
2026-08-24
Publisher
PATTIMURA UNIVERSITY
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

The uncertainty of daily rainfall patterns in Cilacap Regency with extreme variations makes it difficult to detect hydrological anomalies early using traditional methods. This study aims to obtain the most optimal LSTM parameters for rainfall prediction models, evaluate model performance using the Mean Squared Error (MSE) also Root Mean Squared Error (RMSE) metric, and predict rainfall anomalies for the next year using Isolation Forest. Daily BMKG data from January 2015 to December 2024 were processed through preprocessing stages, including missing data handling and time sequence creation. The Long Short Term Memory model was trained using regularization techniques to avoid overfitting, and the prediction results were analyzed using Isolation Forest to identify anomalies. The experiment showed that the best combination of hyperparameters was LSTM with 50 units and a tanh activation function, dropout 0.3, followed by a first dense layer of 50 units with ReLU activation and a single output layer. This configuration resulted in a validation MSE of 23.5247161 and RMSE 4.8502, this result identified five cases of anomalies that were validated for suitability based on rainfall data from BPBD. These results demonstrate the model's ability to reconstruct rainfall patterns and detect potential anomalies, so the system has potential to support early warning efforts for disaster mitigation and water resource management in Cilacap.

Collaboration network of the authors

4 authors · 5 co-authorship links

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

  • Telkom University
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Gavrilla ClaudiaTelkom University2

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 8 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">EARLY DETECTION OF RAINFALL ANOMALIES USING LSTM AND ISOLATION FOREST</dc:title>
	<dc:creator>Almadiva, Adhystira Raihannoeza</dc:creator>
	<dc:creator>Dewi, Atika Ratna</dc:creator>
	<dc:creator>Riyana Putri, Aina Latifa</dc:creator>
	<dc:description xml:lang="en-US">The uncertainty of daily rainfall patterns in Cilacap Regency with extreme variations makes it difficult to detect hydrological anomalies early using traditional methods. This study aims to obtain the most optimal LSTM parameters for rainfall prediction models, evaluate model performance using the Mean Squared Error (MSE) also Root Mean Squared Error (RMSE) metric, and predict rainfall anomalies for the next year using Isolation Forest. Daily BMKG data from January 2015 to December 2024 were processed through preprocessing stages, including missing data handling and time sequence creation. The Long Short Term Memory model was trained using regularization techniques to avoid overfitting, and the prediction results were analyzed using Isolation Forest to identify anomalies. The experiment showed that the best combination of hyperparameters was LSTM with 50 units and a tanh activation function, dropout 0.3, followed by a first dense layer of 50 units with ReLU activation and a single output layer. This configuration resulted in a validation MSE of 23.5247161 and RMSE 4.8502, this result identified five cases of anomalies that were validated for suitability based on rainfall data from BPBD. These results demonstrate the model's ability to reconstruct rainfall patterns and detect potential anomalies, so the system has potential to support early warning efforts for disaster mitigation and water resource management in Cilacap.</dc:description>
	<dc:publisher xml:lang="en-US">PATTIMURA UNIVERSITY</dc:publisher>
	<dc:date>2026-08-24</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/23342</dc:identifier>
	<dc:identifier>10.30598/barekengvol20iss4pp3559-3574</dc:identifier>
	<dc:source xml:lang="en-US">BAREKENG: Jurnal Ilmu Matematika dan Terapan; Vol 20 No 4 (2026): BAREKENG: Journal of Mathematics and Its Application; 3559-3574</dc:source>
	<dc:source>2615-3017</dc:source>
	<dc:source>1978-7227</dc:source>
	<dc:source>10.30598/barekengvol20iss4year2026</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/23342/13092</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2026 Adhystira Raihannoeza Almadiva, Atika Ratna Dewi, Aina Latifa Riyana Putri</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>