Prediction of Trends in Staple Food Food Price Changes Using Gaussian Naive Bayes Algorithm Based on Pihps Data From Bank Indonesia

Staple food price fluctuations require continuous monitoring because price changes may affect market stability and consumers’ purchasing power. This study applies the Gaussian Naive Bayes algorithm to classify staple food price change trends using Bank Indonesia’s Strategic Food Price Information Center (PIHPS) data for the regional wholesale trader category. The uploaded dataset contains 21 detailed commodities and seven observation dates from 3. A total of 84 samples were constructed through historical price-change feature engineering. The predictors comprise the current-period percentage price change, the previous-period percentage price change, and the cumulative price change relative to the initial observation. The target classes are increasing, stable, and decreasing, defined by the price change in the subsequent observation period. A chronological split produced 63 training samples and 21 testing samples. The model achieved 95.24% accuracy, 33.33% macro-precision, 31.75% macro-recall, and 33.33% macro-F1. Although the accuracy appears high, all actual test observations belong to the stable class; therefore, the result does not demonstrate the model’s ability to identify increasing and decreasing prices. This is an initial experiment, and a longer observation period with more minority-class observations is required before operational use.

Authors

Institutions

Publication Details

Journal
Journal Of Data Science
Published
2026-12-01
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Prediction of Trends in Staple Food Food Price Changes Using Gaussian Naive Bayes Algorithm Based on Pihps Data From Bank Indonesia

Muhammad Syahputra Novelan, Ade Mutiara Sari, Putri Nabila
Journal Of Data Science
Data Mining and Machine Learning Applications
article

Prediction of Trends in Staple Food Food Price Changes Using Gaussian Naive Bayes Algorithm Based on Pihps Data From Bank Indonesia

Muhammad Syahputra Novelan, Ade Mutiara Sari, Putri Nabila
article en

Abstract

Staple food price fluctuations require continuous monitoring because price changes may affect market stability and consumers’ purchasing power. This study applies the Gaussian Naive Bayes algorithm to classify staple food price change trends using Bank Indonesia’s Strategic Food Price Information Center (PIHPS) data for the regional wholesale trader category. The uploaded dataset contains 21 detailed commodities and seven observation dates from 3. A total of 84 samples were constructed through historical price-change feature engineering. The predictors comprise the current-period percentage price change, the previous-period percentage price change, and the cumulative price change relative to the initial observation. The target classes are increasing, stable, and decreasing, defined by the price change in the subsequent observation period. A chronological split produced 63 training samples and 21 testing samples. The model achieved 95.24% accuracy, 33.33% macro-precision, 31.75% macro-recall, and 33.33% macro-F1. Although the accuracy appears high, all actual test observations belong to the stable class; therefore, the result does not demonstrate the model’s ability to identify increasing and decreasing prices. This is an initial experiment, and a longer observation period with more minority-class observations is required before operational use.

Journal Of Data ScienceVol. 4(2)
Universitas Pembangunan Panca Budi Medan (ID)
Data Mining and Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon