Decision Tree-based Prediction of Hatching Efficiency in Mud Spiny Lobster (Panulirus polyphagus): Relative Importance of Body Weight, Carapace Length, and Water Quality
Main Article Content
Abstract
Machine learning (ML) has been applied increasingly in aquaculture; however, its practical use in hatchery management remains limited due to challenges in model interpretability. This study developed an interpretable decision tree (DT) model to predict the hatching efficiency (HE) of mud spiny lobster (Panulirus polyphagus) in a hatchery system (n = 72), considering broodstock size indicators—carapace length (CL) and body weight (BW)—and key water quality parameters—temperature, salinity, dissolved oxygen (DO), pH, total ammonia nitrogen (TAN), nitrite (NO2-), and alkalinity). The objectives were to compare BW and CL performance, identify key factors affecting hatching success, and establish threshold-based decision rules for hatchery management. Preliminary regression analysis showed that simple linear models could not adequately capture the relationship between broodstock size and HE. However, BW performed relatively better than CL and was therefore selected for subsequent DT modeling. HE was classified into two groups using K-means clustering: low (<40.5%) and high (≥40.5%). The DT model achieved an overall classification accuracy of 62.50% based on 10-fold cross-validation of the complete dataset (n = 72), with variable classification performance between HE groups. In particular, the model showed limited ability to identify the high-HE group, with a recall of 0.11 and F1-score of 0.18. TAN, DO, and BW were identified as the most influential variables, with nitrite also contributing to the decision rules for hatchery management. Maintaining TAN below 0.14 mg-N·L-1 was associated with higher HE, particularly in broodstock weighing 819.5–895.6 g, while a higher TAN value was associated with reduced performance. In addition, DO levels above 4.95 mg·L-1 improved HE in larger broodstock (>904 g). Based on these findings, the DT model may serve as an exploratory and interpretable decision-support tool for understanding HE patterns and informing broodstock and water quality management in sustainable lobster hatchery systems, while further model development and validation are needed before its use as a reliable predictive system.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
American Public Health Association, American Water Works Association and Water Environment Federation (APHA, AWWA and WEF). 2023. Standard Methods for the Examination of Water and Wastewater, 24th ed. American Public Health Association, Washington, D.C., USA. 1516 pp.
Alsakran, A.A., W.M. Elmessery, P. Szűcs, et al. 2025. Enhancing interpretability and explainability for fish farmers: decision tree approximation of DDPG for RAS control. Aquaculture International 33: 623. DOI: 10.1007/s10499-025-02325-w.
Arkronrat, W., R. Konsantad, C. Leearam, P. Deemark, C. Srisupawadee and V. Oniam. 2024. Impacts of stocking densities on bioeconomics and profitability of mud spiny lobster (Panulirus polyphagus Herbst, 1793) cultivation in sea cages. Agriculture and Natural Resources 58(6): 717–724. DOI: 10.34044/j.anres.2024.58.6.04.
Azra, M.N., M.W. Jye, H. Van Doan, I. Zekker, M.F. Abdullah, Z. Abd Latif and M.I.M. Noor. 2022. Mapping of marine lobster research: A global outlook. Frontiers in Marine Science 9: 976199. DOI: 10.3389/fmars.2022.976199.
Blockeel, H., L. Devos, B. Frénay, G. Nanfack and S. Nijssen. 2023. Decision trees: from efficient prediction to responsible AI. Frontiers in Artificial Intelligence 6: 1124553. DOI: 10.3389/frai.2023.1124553.
Brijith, A. 2023. Data preprocessing for machine learning. CSIM 3: 1–4.
Food and Agriculture Organization (FAO). 2022. The State of World Fisheries and Aquaculture 2022. Towards Blue Transformation. FAO, Rome, Italy. 236 pp.
Gkikas, D.C., M.C. Gkikas and J.A. Theodorou. 2024. Fostering sustainable aquaculture: Mitigating fish mortality risks using decision trees classifiers. Applied Sciences 14: 2129. DOI: 10.3390/app14052129.
Gladju, J., B.S. Kamalam and A. Kanagaraj. 2022. Applications of data mining and machine learning framework in aquaculture and fisheries: A review. Smart Agricultural Technology 2: 100061. DOI: 10.1016/j.atech.2022.100061.
Huan, J., H. Li, M. Li and B. Chen. 2020. Prediction of dissolved oxygen in aquaculture based on gradient boosting decision tree and long short-term memory network: A study of Chang Zhou fishery demonstration base, China. Computers and Electronics in Agriculture 175: 105530. DOI: 10.1016/j.compag.2020.105530.
Imran, M.N., B.R. Hepzibah, S. Vimaladevi, S. Harini, V. Alamelu, F.M. Mohamed, N.A. Brilta and P. Praveenkumar. 2025. Revolution of AI in aquaculture and fish processing: A review. International Journal of Bio-resource and Stress Management 16(7): 01–14. DOI: 10.23910/1.2025.6194.
Islam, M.M., J. Uddin, M.A. Kashem, F. Rabbi and M.W. Hasnat. 2021. Design and implementation of an IoT System for predicting aqua fisheries using Arduino and KNN. Proceedings of Intelligent Human Computer Interaction 2021: 108–118.
Jongjaraunsuk, R. and W. Taparhudee. 2022. Weight estimation model for red tilapia (Oreochromis niloticus Linn.) from images. Agriculture and Natural Resources 56(1): 215–224. DOI: 10.34044/j.anres.2021.56.1.20.
Kurniawan, Z. and R. Tiaharyadini. 2025. Predicting catfish growth and feed efficiency in using decision tree and support vector regression. Indonesian Journal of Artificial Intelligence and Data Mining 8(1): 271–280. DOI: 10.24014/ijaidm.v8i1.32889.
Li, D., J. Sun, H. Yang and X. Wang. 2020. An enhanced Naïve Bayes model for dissolved oxygen forecasting in shellfish aquaculture. IEEE Access 8: 217917–217927. DOI: 10.1109/ACCESS.2020.3042180.
Lundberg, S.M., G. Erion, H. Chen, A. DeGraw, J.M. Prutkin, B. Nair, R. Katz, J. Himmelfarb, N. Bansal and S.I. Lee. 2020. From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence 2: 56–67. DOI: 10.1038/s42256-019-0138-9.
Molnar, C., G. Casalicchio and B. Bischl. 2020. Interpretable machine learning—A brief history, state-of-the-art, and challenges. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery 11(4): e1394. DOI: 10.48550/arXiv.2010.09337.
Nankervis, L. and C. Jones. 2021. Recent advances and future directions in practical diet formulation and adoption in tropical Palinurid lobster aquaculture. Reviews in Aquaculture 2022: 1–13. DOI: 10.1111/raq.12675.
Omar, Z.A., S.R.M. Hashim, J. Sentian and S.N. Chin. 2022. Application of k-means clustering and calendar view visualisation for air pollution index analysis. IOP Conference Series: Earth and Environmental Science 1103: 012004. DOI: 10.1088/1755-1315/1103/1/012004.
Oniam, V., W. Arkronrat, A. Sookdara and P. Promraksa. 2021. Embryonic development, hatchability and survival of early larval stage of mud spiny lobster Panulirus polyphagus (Herbst, 1793) under hatchery conditions. Journal of Fisheries and Environment 45(3): 42–52.
Oniam, V., R. Konsantad, W. Arkronrat and C. Leearam. 2024. A case study on mud spiny lobster (Panulirus polyphagus Herbst, 1793) farming in sea cages: Insights from farmers in southern Thailand. Journal of Fisheries and Environment 48(2): 154–164. DOI: 10.34044/j.jfe.2024.48.2.12.
Petersen, E., E. Susanti, R. Oktaviani, C. Jones and A. Diedrich. 2020. Bio-Economics of tropical spiny lobster farming in Indonesia. Aquaculture and Fisheries Studies 2(2): 1–10. DOI: 10.31038/AFS.2020221.
Qiu, J. 2024. An analysis of model evaluation with cross-validation: Techniques, applications, and recent advances. Proceedings of Finance in the Age of Environmental Risks and Sustainability - ICFTBA 2024 (ICFTBA 2024) 2024: 69–72.
Ryo, M. 2022. Explainable artificial intelligence and interpretable machine learning for agricultural data analysis. Artificial Intelligence in Agriculture 6: 257–265. DOI: 10.1016/j.aiia.2022.11.003.
Saville, R., A. Fujiwara , K. Hatanaka, M. Wada, A. Yaman, R. Puspasari, H. Albasri and N. Dwiyoga. 2026. AI-powered decision support system for mariculture: Real-time fish mortality prediction with random forest. Aquacultural Engineering 112: 102621. DOI: 10.1016/j.aquaeng.2025.102621.
Sun, M., X. Yang and Y. Xie. 2020. Deep learning in aquaculture: A review. Journal of Computers 31(1): 294–319. DOI: 10.3966/199115992020023101028.
Tuffley, E.-J., S. de Lestang, J. How and T. Langlois. 2021. Size matters: large spiny lobsters reduce the catchability of small conspecifics. Marine Ecology Progress Series 666: 99–113. DOI: 10.3354/meps13695.
Tullos, D., M.M. Skinner, H.W. Paerl and E.P. Preece. 2025. A practitioner- informed decision tree for selecting harmful cyanobacteria bloom control and mitigation techniques. Wiley Interdisciplinary Reviews: Water 12: e70005. DOI: 10.1002/wat2.70005.
Wang, X., Y. Li, Q. Qiao, A. Tavares and Y. Liang. 2023. Water quality prediction based on machine learning and comprehensive weighting methods. Entropy 25: 1186. DOI: 10.3390/e25081186.
Wu, A.-Q., K.-L. Li, Z.-Y. Song, X. Lou, P. Hu, W. Yang and R.-F. Wang. 2025. Deep learning for sustainable aquaculture: Opportunities and challenges. Sustainability 17: 5084. DOI: 10.3390/su17115084.
Zeng, S., X. Jiang, H. Li and X. Chen. 2022. Application of machine learning methods for predicting water quality: A review. Journal of Hydrology 603: 126898. DOI: 10.1016/j.jhydrol.2021.126898.
Zhurakovskyi, B., O. Pliushch, V. Saiko and V. Shutenko. 2025. Machine learning-based environmental monitoring and analysis system. Workshop Proceedings on Cybersecurity Providing in Information and Telecommunication Systems 2025: 183–203.