*Article* **The Impact of the Implementation of International Law on Marine Environmental Protection on International Public Health Driven by Multi-Source Network Comment Mining**

**Anqi Yang \* and Shudong Yang**

School of Law, Chongqing University, Chongqing 400044, China **\*** Correspondence: 20172301006@cqu.edu.cn

**Abstract:** With the increase of people's living space, global warming caused by the decrease of greening urban spaces and the serious decline of greenspace quality has led to extreme weather events and coastal erosion, which has become the biggest threat to the ocean and has also led to the occurrence of international public safety incidents. Therefore, it is of great practical significance to explore the tense relationship between the current marine environmental protection and global public safety for the development of an international healthy community. Firstly, this paper discusses the influence of implementing the international law of marine environmental protection on global public health after the reduction of green urban space and the decline of green space quality. Secondly, K-means and discrete particle swarm optimization algorithms are introduced and the particle swarm optimization-K-means clustering (PSO-K-means) algorithm is designed to screen and deal with the mapping relationship between latent variables and word sets about the impact of implementing the international marine ecological protection law on the international public health community in network data information. Moreover, the influencing factors are clustered and the scenarios are evaluated. The results show that the clustering analysis of the marine environment can promote the clustering of marine characteristic words. Meanwhile, the PSO-K-means algorithm can effectively cluster vulnerability data information. When the threshold is 0.45, the estimated recall rate of the corresponding model is 88.75%. Therefore, the following measures have been formulated, that is, increasing greening urban spaces and enhancing the quality of green space to enhance the protection of marine environment, which has practical reference value for realizing the protection of marine environment and the sustainable development of marine water resources and land resources.

**Keywords:** international public safety; international law of marine environmental protection; greening urban spaces; green space quality; healthy community; PSO-K-means
