This study aims to realize Sustainable Development Goals (SDGs), i.e., SDG 9: Industry Innovation and Infrastructure and SDG 14: Life below Water, through the improvement of localization estimation accuracy in magneto-inductive underwater wireless sensor networks (MI-UWSNs). The accurate localization of sensor nodes in MI communication can effectively be utilized for industrial IoT applications, e.g., underwater gas and oil pipeline monitoring, and in other important underwater IoT applications, e.g., smart monitoring of sea animals, etc. The most-feasible technology for medium- and short-range communication in IIoT-based UWSNs is MI communication. To improve underwater communication, this paper presents a machine learning-based prediction of localization estimation accuracy of randomly deployed sensor Rx nodes through anchor Tx nodes in the MI-UWSNs. For the training of ML models, extensive simulations have been performed to create two separate datasets for the two configurations of excitation current provided to the Tri-directional (TD) coils, i.e., configuration1-case1_configuration2-case1 (c1c1_c2c1) and configuration1-case2_configuration2-case2 (c1c2_c2c2). Two ML models have been created for each case. The accuracies of both models lie between 95% and 97%. The prediction results have been validated by both the test dataset and verified simulation results. The other important contribution of this paper is the development of a novel assembling technique of a MI-TD coil to achieve an approximate omnidirectional magnetic flux around the communicating coils, which, in turn, will improve the localization accuracy of the Rx nodes in IIoT-based MI-UWSNs.