Machine Learning Techniques for Classifying Indonesian Foods and Drinks by Nutritional Profiles
Main Article Content
Abstract
Local ingredients and Indonesia's diverse culinary traditions play an important role in shaping people's health and eating habits. Understanding the nutritional profile of Indonesian food is crucial to promoting healthier food choices. This study aims to classify Indonesian food and beverages based on their nutritional content, with a focus on calories, protein, fat, and carbohydrates. To achieve this, a dataset of 1,346 food items was preprocessed using normalization techniques to improve model performance. Each food item was categorized as High Protein, High Fat, or High Carbohydrate based on its dominant macronutrient content. Five machine learning models which are K-Nearest Neighbors, Decision Trees, Support Vector Machines, Random Forest, and Multilayer Perceptron-were used and compared. Among these models, the Support Vector Machine achieved the highest classification accuracy of 99.1%. These findings demonstrate the potential of machine learning in nutrition research, providing a basis for developing data-driven dietary recommendations tailored to individual nutritional needs. This research bridges traditional dietary research with modern computational approaches, offering insights for public health initiatives and personalized nutrition planning.
Article Details
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
B. Yudhistira and A. Fatmawati, “Diversity of Indonesian soto,” J. Ethn. Foods, vol. 7, no. 1, p. 27, Dec. 2020, doi: 10.1186/s42779-020-00067-z.
A. Wibisono, H. A. Wisesa, Z. P. Rahmadhani, P. K. Fahira, P. Mursanto, and W. Jatmiko, “Traditional food knowledge of Indonesia: a new high-quality food dataset and automatic recognition system,” J. Big Data, vol. 7, no. 1, p. 69, Dec. 2020, doi: 10.1186/s40537-020-00342-5.
P. K. Fahira, Z. P. Rahmadhani, P. Mursanto, A. Wibisono, and H. A. Wisesa, “Classical Machine Learning Classification for Javanese Traditional Food Image,” in 2020 4th International Conference on Informatics and Computational Sciences (ICICoS), IEEE, Nov. 2020, pp. 1–5. doi: 10.1109/ICICoS51170.2020.9299039.
D. Chrimes, “Using Decision Trees as an Expert System for Clinical Decision Support for COVID-19,” Interact. J. Med. Res., vol. 12, p. e42540, Jan. 2023, doi: 10.2196/42540.
M. Senthilmurugan, N. Yamsani, C. M. B. M J, L. S, S. Padmakala, and A. Akilandeswari, “Evaluation of Support Vector Machine and Kernel Neural Network Classification for Fast Food Nutrition Data,” in 2023 Second International Conference on Augmented Intelligence and Sustainable Systems (ICAISS), IEEE, Aug. 2023, pp. 150–154. doi: 10.1109/ICAISS58487.2023.10250603.
Y. A. Sari et al., “Indonesian Traditional Food Image Identification using Random Forest Classifier based on Color and Texture Features,” in 2019 International Conference on Sustainable Information Engineering and Technology (SIET), IEEE, Sep. 2019, pp. 206–211. doi: 10.1109/SIET48054.2019.8986058.
I. Kumar, J. Rawat, N. Mohd, and S. Husain, “Opportunities of Artificial Intelligence and Machine Learning in the Food Industry,” J. Food Qual., vol. 2021, pp. 1–10, Jul. 2021, doi: 10.1155/2021/4535567.
J. Kong et al., “Deep‐Stacking Network Approach by Multisource Data Mining for Hazardous Risk Identification in IoT‐Based Intelligent Food Management Systems,” Comput. Intell. Neurosci., vol. 2021, no. 1, Jan. 2021, doi: 10.1155/2021/1194565.
V. M. Oddo et al., “Evidence-Based Nutrition Interventions Improved Adolescents’ Knowledge and Behaviors in Indonesia,” Nutrients, vol. 14, no. 9, p. 1717, Apr. 2022, doi: 10.3390/nu14091717.
L. Carnevale et al., “Towards a precision medicine Solution for optimal pediatric Laparoscopy: An exploratory data analysis for features Selections,” Biomed. Signal Process. Control, vol. 88, p. 105321, Feb. 2024, doi: 10.1016/j.bspc.2023.105321.
R. A. Asmara, M. Z. Abdullah, and F. M. Wahyuningtyas, “Herbalife Nutrition Product Recommender System using Mamdani Fuzzy Logic,” in 2020 4th International Conference on Vocational Education and Training (ICOVET), IEEE, Sep. 2020, pp. 1–5. doi: 10.1109/ICOVET50258.2020.9230303.
Q. D. Ayu Sulistiani, B. Irawan, and C. Setianingsih, “Dietary Habits for Toddler Growth using Particles Swarm Optimization Algorithms,” in 2020 2nd International Conference on Cybernetics and Intelligent System (ICORIS), IEEE, Oct. 2020, pp. 1–6. doi: 10.1109/ICORIS50180.2020.9320841.
M. Rong, “Nutritional Analysis and Optimization of College Students’ Dietary Recipes Based on Entropy Weight TOPSIS Method and Simulated Annealing Algorithm,” in 2024 IEEE 2nd International Conference on Sensors, Electronics and Computer Engineering (ICSECE), IEEE, Aug. 2024, pp. 286–290. doi: 10.1109/ICSECE61636.2024.10729414.
A. H. A. M. Siagian et al., “Developing Food Menu Recommendation System Based on Indonesian Nutritional Needs,” in 2024 International Conference on Computer, Control, Informatics and its Applications (IC3INA), IEEE, Oct. 2024, pp. 105–110. doi: 10.1109/IC3INA64086.2024.10732573.
A. F. Hanif, “Indonesian Food and Drink Nutrition Dataset.” Accessed: Nov. 25, 2024. [Online]. Available: https://www.kaggle.com/datasets/anasfikrihanif/indonesian-food-and-drink-nutrition-dataset/
W. Wang, Z. Liu, J. Tang, and C. Yuan, “An enhanced strategy for geo-exploratory data analysis to facilitate the discovery of new mineral deposits,” J. Geochemical Explor., vol. 258, p. 107411, Mar. 2024, doi: 10.1016/j.gexplo.2024.107411.
F. Zou, “Research on data cleaning in big data environment,” in 2022 International Conference on Cloud Computing, Big Data and Internet of Things (3CBIT), IEEE, Oct. 2022, pp. 145–148. doi: 10.1109/3CBIT57391.2022.00037.
L. Shen et al., “Enhanced multi-scale feature adaptive fusion sparse convolutional network for large-scale scenes semantic segmentation,” Comput. Graph., p. 104105, Dec. 2024, doi: 10.1016/j.cag.2024.104105.
B. B. C, A. Deshmukh, and A. V Narasimhadhan, “Modulation and signal class labelling with active learning and classification using machine learning,” in 2022 IEEE International Conference on Electronics, Computing and Communication Technologies (CONECCT), IEEE, Jul. 2022, pp. 1–5. doi: 10.1109/CONECCT55679.2022.9865826.
S. Zhang and J. Li, “KNN Classification With One-Step Computation,” IEEE Trans. Knowl. Data Eng., vol. 35, no. 3, 2023, doi: 10.1109/TKDE.2021.3119140.
T. A. Munshi, L. N. Jahan, M. F. Howladar, and M. Hashan, “Prediction of gross calorific value from coal analysis using decision tree-based bagging and boosting techniques,” Heliyon, vol. 10, no. 1, p. e23395, Jan. 2024, doi: 10.1016/j.heliyon.2023.e23395.
R. Rofik, R. Aulia, K. Musaadah, S. S. F. Ardyani, and A. A. Hakim, “Optimization of Credit Scoring Model Using Stacking Ensemble Learning and Oversampling Techniques,” J. Inf. Syst. Explor. Res., vol. 2, no. 1, Dec. 2023, doi: 10.52465/joiser.v2i1.203.
K. Zhang, J. Yang, J. Sha, and H. Liu, “Dynamic slow feature analysis and random forest for subway indoor air quality modeling,” Build. Environ., vol. 213, p. 108876, Apr. 2022, doi: 10.1016/j.buildenv.2022.108876.
F. K. Oduro-Gyimah, K. O. Boateng, P. B. Adu, and K. Quist-Aphetsi, “Prediction of Telecommunication Network Outage Time Using Multilayer Perceptron Modelling Approach,” in 2021 International Conference on Computing, Computational Modelling and Applications (ICCMA), IEEE, Jul. 2021, pp. 104–108. doi: 10.1109/ICCMA53594.2021.00025.
M. Heydarian, T. E. Doyle, and R. Samavi, “MLCM: Multi-Label Confusion Matrix,” IEEE Access, vol. 10, pp. 19083–19095, 2022, doi: 10.1109/ACCESS.2022.3151048.