Next Article in Journal
Local Fiscal Pressure and Public Health: Evidence from China
Previous Article in Journal
Reconstructing Clonal Evolution—A Systematic Evaluation of Current Bioinformatics Approaches
Previous Article in Special Issue
Design and Realization of Rural Environment Art Construction of Cultural Image and Visual Communication
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

School of Law, Chongqing University, Chongqing 400044, China
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2023, 20(6), 5130; https://doi.org/10.3390/ijerph20065130
Submission received: 4 January 2023 / Revised: 10 March 2023 / Accepted: 10 March 2023 / Published: 14 March 2023
(This article belongs to the Special Issue Greening Urban Spaces: A Healthy Community Design)

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.

1. Introduction

In recent years, under the trend of the rapid expansion of people’s activity space, the green area of urban space has been seriously reduced and the quality of green space has decreased significantly. The resulting global warming has even led to a dramatic deterioration of the marine environment. In the era of big data, online comments profoundly affect individuals, groups, societies, and countries [1,2]. Public opinion formed through online comments has also led people to pay attention to the impact of marine pollution on human survival and development. The public constantly reflects on the relationship between human beings and the environment through the news about the situation to gradually form a substantial public opinion pressure and supervision role [3]. People expect to find the reasons for the increase in environmental pollution and the frequent occurrence of pollution incidents to analyze how to prevent environmental pollution [4]. In addition, the local division of data can be realized through the clustering algorithm of unsupervised learning. After clustering the data set, the clusters are analyzed separately to obtain more detailed results. Cluster analysis can be used in the data preprocessing stage to focus on complex data structures with specific algorithms to standardize complex data structures. Therefore, applying intelligent analysis methods to the analysis of global warming and marine environmental degradation, timely and accurately grasping relevant online commentary, and formulating and implementing environmental protection laws and policies have become the focus of many scholars in related fields.
Agglomerative hierarchical clustering (AHC) has been applied to opinion analysis several times in recent years. The AHC method is generally a small to large method. It starts by dividing each piece of data into a complete cluster. Then, according to the similarity of the data, the nearest clusters are gradually merged into a cluster until all clusters have merged into one cluster or some established conditions have been reached [5]. The K-means algorithm, density-based spatial clustering of applications with noise algorithm, and ordering points to identify the clustering structure algorithm of the AHC algorithm are preferred algorithms in the analysis methods [6,7]. Among them, density-based clustering has good effect and fast clustering speed. For each attribute divided, a single scan determines the number of mesh cells and grid cells per object. The K-means clustering algorithm is the most commonly used of all clustering algorithms. After artificially setting the initial K value, K objects are randomly selected to represent the center of K clusters. Next, the distance of other objects from the K centers is calculated and assigned to the nearest cluster. Then, the K-means algorithm iteratively improves the intra-cluster variation, calculates a new mean for each cluster, and takes the updated mean as the new cluster center point. All objects are reassigned to continue to iterate until they stabilize. The clustering algorithm has attracted much attention from experts and scholars because of the simplicity of the algorithm presented in the application, its easy implementation, and the good results of the application [8]. Currently, cluster analysis methods are widely used in medical diagnoses, image processing, information retrieval, statistics, biology, and other fields [9,10,11,12].
Therefore, the classical K-means algorithm in the AHC analysis method is selected to combine with the particle swarm optimization (PSO) algorithm. The purpose of this paper is to explore the relationship between the current situation of marine environmental protection and international public health safety by digging up online comments on marine environmental protection. Its novelty lies in the design of the particle swarm optimization-K-means clustering (PSO-K-means) algorithm. Through the PSO-K-means algorithm, the mapping relationship between potential variables and word sets of marine protection status is clustered and the influencing factors are evaluated. In this way, the impact on global public health is explored by taking measures such as greening urban spaces, enhancing the quality of green spaces, and implementing the international marine environmental protection law. In addition, the development trend of online public opinion is predicted, which provides a reference for formulating and implementing marine ecological protection policies.

2. Literature Review

At present, there are studies on global warming and the governance of the marine environment. Benedetti et al. (2021) found that zooplankton richness was expected to decline slightly in the tropics but to increase significantly in temperate to subpolar regions. Meanwhile, climate change threatened the contribution of plankton communities to plankton-mediated ecosystem services such as biocarbon sequestration [13]. Bache and Reynolds (2022) reviewed ocean goals as part of the sustainable development goals and considered the process of linkage thinking in more detail, particularly in relation to ocean-climate linkages. It was found that relying on SDG interaction analysis was risky because the results were inaccurate or could not adapt to rapid transformation or knowledge acquisition in some areas. They also recognized that planetary boundary tipping points would help bring the oceans into climate consideration [14]. Therefore, the strategies of marine environmental protection and climate management are analyzed through the literature collation of environmental protection and public health. It promotes the improvement of algorithm operation efficiency while saving storage space resources, which has practical reference significance for establishing international public security model.
As one of the data mining techniques, clustering algorithms can extract useful information from massive data. Numerous scholars have studied it. Bu et al. (2019) applied the classical K-means technique to model a realistic social media network as a discrete-time dynamic system. They performed social media information analysis regarding opinion matrix and community structure interactions [15]. Tang (2022) used the K-means algorithm for mining and analyzing the public opinion hotspots of Chinese microblogs, which could grasp the public opinion hotspots easily and quickly after experiments [16]. Rahim Taleqani et al. (2019) performed data analysis using cluster analysis on 32,000 comments on Twitter on the issue of bicycle sharing, which precisely derived from people’s concerns about bicycle sharing [17]. K-means clustering analysis and data mining techniques based on K-means clustering analysis can also be used in finance. Li et al. (2020) used K-means clustering analysis to analyze the investment efficiency of smart investments and had good results [18]. The losses of major enterprises during the new coronavirus can also be explored in the data. Zheng et al. (2022) analyzed the deviation from the state support policy for enterprises in southern China, thus providing ideas for their continued development [19]. The results of the literature review data are summarized in Table 1.
Through the research of the above scholars, it is found that, under the global warming trend, people have paid attention to urban space greening and marine environmental governance. Moreover, cluster analysis methods have become indispensable in the era of big data and cluster analysis methods will greatly save human and material resources. However, applying clustering algorithms to marine environmental analysis is extremely rare. Therefore, this paper improves the cluster analysis algorithm and applies it to the analysis of the marine environment and the formulation of countermeasures, which can provide a reference for the subsequent green and sustainable development of the marine environment.

3. Methods and Models

3.1. K-Means Clustering Algorithm

K-means is a partitional clustering algorithm called the K-means algorithm; it has unique advantages in extensive data analysis and information mining [20]. Figure 1 shows the workflow of the K-means clustering algorithm.
In Figure 1, K-means starts from K randomly selected centroids to define the prototype of the cluster structure. Each data point is assigned to the cluster to which the nearest centroid belongs according to the distance. Then, the centroid position of each cluster is updated iteratively (the new centroid is usually the mean of the data points within the cluster and it hardly corresponds to the actual data points) until the positions of all the particles no longer change. The K-means algorithm is efficient and scalable when dealing with datasets. The optimal state is where the algorithm’s K division squared error values tend to be the smallest. The effect is good when the distribution characteristics of the clustering results are apparent. The disadvantage of the K-means algorithm is that it can only be used if the cluster’s mean is pre-defined. Therefore, choosing a suitable initial centroid is a critical step in the K-means algorithm.

3.2. Discrete Particle Swarm Optimization (DPSO) Algorithm

The PSO algorithm is proposed for the continuous function optimization problems. The algorithm is built on a constant domain to optimize the solution [21]. A PSO algorithm suitable for the discrete binary version is proposed after modifying the basic PSO to solve the discrete optimization problem. In the DPSO algorithm, the value of each dimension of the particle’s position vector t is limited to integer zero or one. There is no limit to the particle’s velocity, but velocity is usually used to characterize the probability that each dimension in the position vector takes an integer zero or one. If the velocity value v of a particular dimension j of particle i is larger, the probability that the corresponding position of the particle takes an integer one is higher. Otherwise, the probability of taking zero is greater. The sigmoid function conforms to this characteristic, so the sigmoid function is used in the PSO algorithm to convert the range of the speed v. The function conversion method is as follows.
s i g m o i d v i j ( t + 1 ) = 1 1 + e v i j ( t + 1 )
The sigmoid function increases monotonically on the interval (+∞,−∞). It has a value of 0.5 at coordinate r = 0. The equation of the discrete binary PSO algorithm based on the above sigmoid function is as follows. In addition to the particle’s moving speed needing to be further converted, its basic speed equation and the standard particle swarm algorithm’s speed equation are as follows.
v i j ( t + 1 ) = v i j ( t ) + c 1 r 1 ( t i j x i j t ) + c 1 r 2 ( t i j x i j t )                                                                          
v i j ( t + 1 ) =   s i g m o i d v i j ( t + 1 )        
v i j ( t + 1 ) = 0 , r i j ( t ) > v i j ( t + 1 ) 1 , r i j ( t ) v i j ( t + 1 )          
In Equations (2)–(4), r i j ( t ) ~ ( 0,1 ) represents a random value that follows a normal distribution. It is mainly used to limit the probability of the speed value. c1 is the initial center vector and c2 is the largest center vector. In addition, the maximum speed limit is also preserved in the PSO algorithm. The greater the value of v i j ( t ) < V M A X , the greater the corresponding probability value and the greater the variation probability of the particle dimension value. From the curve of the sigmoid function f x = 1 1 + e v i j t + 1 , the value of the sigmoid function tends to zero and x i j = 0 when the jth dimension velocity of particle i is v i j < 10 . Similarly, the value of the sigmoid function tends to one and x i j = 1 when the particle’s velocity v i j > 10 . Therefore, it is necessary to limit the maximum speed range to prevent the algorithm from being stagnant in the search in the process of binary encoding.

3.3. PSO-K-Means Algorithm

The K-means clustering algorithm is considered one of the most influential and popular data mining algorithms among the AHC algorithms. Despite its popularity, this algorithm has certain limitations, including issues related to the random initialization of the centroids. This can lead to unexpected convergence. Therefore, this paper chooses to use the PSO algorithm to determine the initial centroids of the K-means clustering algorithm. In this way, the K-means clustering algorithm can select the optimal K value in the marine environmental protection comment analysis. The optimal analysis results can also be obtained. Here, the combination of the two algorithms is called the PSO-K-means algorithm. From Figure 2, the number of clusters K is obtained based on the optimal solution obtained by the PSO algorithm. K-means finds the cluster structure represented by K centroids.
Applying the PSO algorithm to the K-means algorithm can quickly search and accurately find the initial cluster center of the K-means algorithm. The function of evaluating the clustering effect is taken as the fitness function of the particle swarm. The frequent word space set K s s t = k s 1 , k s 2 , k s 3 k s m T is divided into K categories. Then, the fitness function is:
g x = i = 1 m j = 1 k k s i c j 2                  
In Equation (5), m is the total number of particles in the PSO algorithm and i is the particle number. k is the initial number of particles in the K-means algorithm. s is the total number of texts. c is the cluster. j is the number of clusters.
The fitness variance can reflect the convergence degree of the particle swarm and the group fitness variance can be obtained according to Equation (6).
δ 2 = 1 n i = 1 n g ( x ) g                                                                                                                                                                  
In Equation (6), g is the population’s average fitness. When δ 2 is less than the set threshold, the fitness value fluctuates less. The particle swarm is in a convergent state. At this point, terminating the PSO algorithm and executing the K-means algorithm can make the later convergence speed fast.
PSO-K-means is applied to multi-source network comment mining to explore the impact of the implementation of international law on marine environmental protection on global public health. From Figure 3, the review information text is collected first. The PSO-K-means algorithm is used for cluster analysis and topic extraction to obtain the analysis after data preprocessing.

3.4. Preprocessing of Online Comment Data

From Figure 4, comment information mining needs to go through four processes: data collection, preprocessing, text clustering, and result in analysis. First, the data source of this analysis is the information related to marine environmental protection obtained from major social networking and news websites through crawler programs. After preliminary screening, a total of 5931 data texts are obtained and recorded as the original marine environmental protection review data set. Secondly, data preprocessing is performed to extract the information on the features of the online reviews and put them into the text. Finally, the text is preprocessed to obtain the feature vector, generating compelling information. In the process of text clustering, the PSO algorithm is used to find the cluster center intelligently. Then, clustering is implemented using the K-means algorithm. During the analysis of the clustering results, the marine environmental protection information after topic extraction is obtained by comparing the relevant high-frequency comments. The accuracy of the PSO-K-means clustering algorithm in clustering comment information is evaluated. Then, the algorithm’s performance is analyzed and compared with the pure K-means algorithm for accuracy convergence. Finally, the application of the algorithm in practice is evaluated.
The detailed steps of data preprocessing are as follows.
  • The first is to mark the part of speech. A tokenizer is used to tag high-frequency words in each comment.
  • The second is to remove stop words. Stop words are meaningless words that need to be removed. Remove meaningless words (such as am, is, are, and for).
  • The third is to extract valuable words. Proper nouns, verbs, and adjectives are extracted to ensure that the extracted words have actual meanings and can accurately express the characteristic information of comments.
  • The fourth is to obtain frequent words. All recorded frequencies are counted. High-frequency words have a representative role in this description field. Words that are representative and exceed the word frequency threshold are selected as representative elements combined with comment elements and high-frequency vocabulary.
A set of documents D ( d 1 , d 2 , d 3 d n ) and a set of words W ( w 1 , w 2 , w 3 w n ) are given. d represents a document and w represents a high-frequency word. Assuming that the order and position of each word in the text are ignored, a d-w matrix can be formed, as shown in Equation (7).
A = n ( d i , w i ) D × W                                                                                                                                                                                                                          
In Equation (7), n d i , w i represents the word frequency of the word w i in the document d i . In the latent variable set Z ( z 1 z 2 z n ) , z represents the latent variable that has not been observed. Therefore, d and w are independent of each other and k is based on experience. The correspondence between the three-level variables of “text-implicit-word” is shown in Figure 5.
5.
The fifth is the vectorization of representative comment information. Through preprocessing, the dataset is segmented and stop words removed to turn it into a set of words. Each comment in the comment dataset is converted into a vector format of ( t 1 , w i 1 ; t 2 , w i 2 t n , w i n ) to convert textual data into format vector data. t n refers to a word in a comment. The next is the weight value w i n that the word has. All articles are integrated into vector format as input to the PSO-K-means algorithm.
Additionally, in the performance evaluation of model data mining, word frequency refers to the frequency of feature words in the text dataset. Recall refers to the proportion of data in the algorithm that is true positive and judged to be positive. The number of network comments for feature words can be judged by word frequency and the optimization performance of different algorithms can be evaluated through recall. Word frequency and recall can be obtained according to Equations (8) and (9).
W o r d   f r e q u e n c y = F 1 F 2
Recall = T P T P + F N
In Equations (8) and (9), F1 represents the number of occurrences of a particular phrase in the text. F2 refers to the total number of independent phrases that divide the dataset text into pieces. TP represents the total number of samples that are actually positive and predicted to be positive. FN represents the total number of samples that are actually positive and predicted negative.

3.5. Clustering of Related Online Comment Texts

After processing the original marine environmental protection review data set obtained above, the relevant online review texts are initialized by the PSO algorithm, as shown in Figure 6. The remaining objects are divided into the nearest classes according to their distances from each cluster center and iterate continuously until the function converges. The original complex comment data set can be normalized and the comment hotspots from different aspects of the commenting object can be extracted from it. Then, the feature information extraction of online comments is realized to accurately grasp the hotspots and key points of the online comments.
The PSO-K-means clustering algorithm is used to obtain the distance of each vectorized information from the particle after the noise reduction and vectorization of the comment information. Then, cluster according to distance. Firstly, the comment vector with the largest local density is selected from the set as the initial center vector C1 of the maximum and minimum distance algorithm. The maximum and minimum distance algorithm can find the center point accurately combined with the reduced candidate vector set. The distance between other vectors in the dataset and C1 is calculated and the vector C2 with the largest distance is selected as the second center vector. The distance from each comment vector to each center vector in the dataset is calculated and denoted as Dij. The minimum values in Dij are selected to form the minimum distance from the sample to the center vector set. The largest distance Dw in this set is chosen. In addition, the vector Cw corresponding to Dw as a new center vector is added to the center vector set to continue to search for the next center vector until the maximum Dij is satisfied. Meanwhile, Dij is assigned to T1. The purpose is to select the center of each comment vector as large as possible to avoid falling into the optimal local solution. Through the cluster analysis stage, multiple clusters can be obtained. Each cluster represents a hot spot in this review dataset. According to the corresponding comment vector in each hotspot, the word vector combination with the largest weight is extracted, representing the hotspot’s main text content. Sorting out the hotspot information in each cluster realizes the extraction of all hotspot information in this review dataset.

4. Results and Discussion

4.1. Cluster Analysis of Marine Environmental Reviews

Only 4830 of the original 5931 are left after denoising, deduplication, word segmentation, stop word filtering, and other text preprocessing operations on the original marine environmental protection review dataset. When performing text preprocessing operations, the evaluation command is first issued to the background by any user and the background system selects the appropriate data range through the functional logic layer. After the initial population data query is carried out through the data layer, the clustering calculation of each item is performed on the model range data. The data of the clustering model is retained before the judgment operation of the clustering model is performed. After the original text set is converted into structured data, term clustering and document clustering are performed on the data set in the cluster analysis process. For the document clustering process, the representative output term is set to three at a time. K-means cluster analysis is performed on structured data. The number of initial clusters is set to four, five, and six by the PSO algorithm. Different K values will have different effects on the clustering results. The clustering results using PSO-K-means are shown in Table 2.
From Table 1, after clustering analysis of 4830 valid comments, different K values will output different clustering results. The less the K value is set, the fewer the classification results of the representative entries and the easier it is to obtain the analysis results. The larger the K value is set, the more detailed the classification will be and the more complex the analysis results will be. Furthermore, the clustering time and the number of iterations are also affected. After preprocessing the comment text and text representation, the feature items are counted. Figure 7 displays the cluster analysis graph.
For the form of feature item visualization, the word cloud diagram is shown in Figure 8. “Word cloud” is to visually highlight “keywords” that frequently appear in web texts by forming a “keyword cloud layer” or “keyword rendering”. There are more than 4000 feature items in the review set, so the feature items with a word frequency higher than 300 are used when drawing the word cloud and those with a word frequency lower than 300 are eliminated. When drawing the word cloud map, a sparsity of 0.98 is selected and 18 high-frequency feature items are retained to display the relationship between feature items.
From Figure 8, feature items with high frequency are clustered in the middle area of the word cloud; however, high frequency does not mean important. Although some feature items are not in the middle area of the word cloud, their importance to comments is more important than the feature items in the middle area. From the word cloud network constructed from 18 feature items, the words near the central region are large. This indicates that its importance is high and the connection between the feature terms is strong.

4.2. PSO-K-Means Algorithm Experimental Evaluation

The selection of the threshold value in the research algorithm directly affects the clustering effect. Therefore, choosing an appropriate threshold is significant for improving the clustering effect. Here, the review corpus is used as the training set. The recall is adjusted to observe the clustering effect. When the recall value reaches the maximum value, the clustering effect is the best and the value at this time is also used as the threshold. First, product features for Chinese online products are extracted, filtered, and optimized. The similarity between features is calculated using the point mutual information of the equation. Then, the clustering algorithm is performed. The algorithm selects the maximum recall value as the final selection threshold. The selection threshold is revealed in Figure 9. From the figure, when the threshold value is 0.45, the corresponding recall rate is the highest, which is 88.75%. At this time, the corresponding clustering effect is also the best.
Multi-source web reviews are mined through experimental analysis. Table 3 shows the performance comparison results of the PSO-K-means algorithm proposed here and the K-means method only.
Table 3 indicates that using the PSO-K-means algorithm has a higher recall rate than simply using the K-means algorithm. The recall performance of the model represents the proportion of data in the algorithm that is true positive and judged positive. It can be seen that the PSO-K-means algorithm has a promising application in the cluster analysis of related reviews. The main function of PSO is to find the optimal value. The programming implementation of genetic algorithm is relatively complicated and the utilization rate of network feedback information is not high. Therefore, the improved optimization algorithm of K-means + PSO is used here, which has a reference effect on the model experiment of the big data analysis algorithm.
The accuracy values of the PSO-K-means algorithm and the K-means algorithm under different thresholds are further analyzed, as shown in Table 4.
Table 4 compares the accuracy values of the PSO-K-means algorithm and the K-means algorithm. It is found that using the PSO-K-means algorithm has a higher accuracy value than simply using the K-means algorithm and it reaches 90% with a threshold of 0.5. Therefore, the PSO-K-means algorithm has application prospects in the cluster analysis of related reviews. It also has a reference effect on the research of big data analysis algorithms.
Finally, the time required for clustering the PSO-K-means algorithm and the K-means algorithm under different thresholds is analyzed, as shown in Table 5.
Table 5 compares the time required for the PSO-K-means algorithm and the K-means algorithm at different thresholds. It is found that with the threshold increase, the clustering completion time of the PSO-K-means algorithm and the K-means algorithm showed a trend of first decreasing and then rising. Using the PSO-K-means algorithm takes less time than simply using the K-means algorithm and the time required is only 76.32ms at a threshold of 0.8. Therefore, the PSO-K-means algorithm can complete the cluster analysis in a shorter time and the clustering accuracy is better for providing a reference for the research of big data analysis algorithms.

4.3. Research on the Impact of the Implementation of International Marine Environment Protection Law on Global Public Health

It is necessary to explore the impact of the implementation of international law on marine environmental protection on global public health. Years of implementation of international law on marine environmental protection increase. The frequency of representative entries related to public health in relevant comments is counted. Among the original 5931 reviews, good reviews containing public health-related terms are preprocessed into 2867. The PSO-K-means algorithm is set to perform year statistics on different time windows; the results are shown in Table 6.
From Table 6, the frequency of public health-related entries in online reviews has increased yearly with the implementation of the international law on marine environmental protection. Especially after 2000, there has been an explosion of commentary on marine environmental protection and public health. This is closely related to the improvement of international marine protection law after 2000. Therefore, implementing marine environmental protection laws is vital in promoting global public health.

4.4. Discussion

Gao et al. (2020) studied the application of the PSO algorithm in the K-means algorithm [22]. The PSO-K-means algorithm has good clustering performance and is obviously superior to the existing classical or most advanced clustering algorithms, which is consistent with the research results of Gao et al. (2020) [22]. In summary, the PSO-K-means algorithm can efficiently cluster vulnerability data information. It has the characteristics of high accuracy of the AHC algorithm when applied to the clustering analysis of multi-source online reviews. The development trend of online public opinion information can be judged by adjusting the time window of the algorithm to predict the implementation of the international marine environmental protection law and the global public health image. The results show that the clustering analysis of marine environment by the PSO-K-means algorithm can promote the clustering of marine characteristic words, which has a practical reference value for realizing marine environmental protection and sustainable development of marine resources. Furthermore, through the analysis of the international marine environment, it is found that global warming is one of the possibilities for the deterioration of the international marine environment. As a result, global warming will be mitigated by taking measures such as greening urban spaces and improving the quality of green spaces. This is of great practical significance for establishing healthy communities and can provide concrete measures for the governance of the international marine environment.

5. Conclusions

In this paper, the PSO-K-means algorithm is designed and, based on this algorithm, the original marine environmental protection review data set obtained in the network is mined and analyzed in detail. The results show that the designed algorithm has good clustering performance and can promote the clustering of marine feature words, thus promoting the protection of marine environment and the development of global public health communities. Therefore, mitigating global warming by greening urban spaces and improving the quality of green spaces is of great significance to establishing healthy communities and the governance of the international marine environment. The PSO-K-means algorithm applied to the analysis of online review data is more robust than traditional methods, which provides ideas for online review data mining. Through this algorithm, the reactions and opinions of network users can be quickly understood, which affects the judgment of public social opinion. The combined use of the PSO-K-means algorithm is better than K-means alone. After the recall rate test, the recall rate of the PSO-K-means algorithm can reach 88.75%. Therefore, the PSO-K-means algorithm has a good application prospect. However, there are still many details in the process of information processing that are not considered carefully. The solutions to many problems still need to be improved. The effect of data preprocessing to eliminate invalid comments needs to be further strengthened. The visualization of analysis results still needs improvement. This will also be an important research direction for future related work.

Author Contributions

Conceptualization, methodology, validation, formal analysis, investigation: A.Y., S.Y.; resources, A.Y.; writing—original draft preparation, A.Y.; writing—review and editing, A.Y., S.Y.; visualization, A.Y.; supervision, S.Y.; funding acquisition, S.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not Applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, Y.X.; Feng, Y.X.; Yang, R.Q. Network public opinion propagation model based on the influence of media and interpersonal communication. Int. J. Mod. Phys. B 2019, 33, 1950393. [Google Scholar] [CrossRef]
  2. Rim, H.; Lee, Y.; Yoo, S. Polarized public opinion responding to corporate social advocacy: Social network analysis of boycotters and advocators. Public Relat. Rev. 2020, 46, 101869. [Google Scholar] [CrossRef]
  3. Kandziora, J.H.; Van Toulon, N.; Sobral, P.; Taylor, H.L.; Ribbink, A.J.; Jambeck, J.R.; Werner, S. The important role of marine debris networks to prevent and reduce ocean plastic pollution. Mar. Pollut. Bull. 2019, 141, 657–662. [Google Scholar] [CrossRef] [PubMed]
  4. Chaudhuri, S.; Kumar, A. Urban greenery for air pollution control: A meta-analysis of current practice, progress, and challenges. Environ. Monit. Assess. 2022, 194, 235. [Google Scholar] [CrossRef]
  5. Wu, S.; Lin, J.; Zhang, Z.; Yang, Y. Hesitant Fuzzy Linguistic Agglomerative Hierarchical Clustering Algorithm and Its Application in Judicial Practice. Mathematics 2021, 9, 370. [Google Scholar] [CrossRef]
  6. Ahmed, M.; Seraj, R.; Islam, S.M.S. The k-means algorithm: A comprehensive survey and performance evaluation. Electronics 2020, 9, 1295. [Google Scholar] [CrossRef]
  7. Jo, T. Semantic string operation for specializing AHC algorithm for text clustering. Ann. Math. Artif. Intell. 2020, 88, 1083–1100. [Google Scholar] [CrossRef]
  8. Peterson St-Laurent, G.; Hagerman, S.; Kozak, R. What risks matter? Public views about assisted migration and other climate-adaptive reforestation strategies. Clim. Change 2018, 151, 573–587. [Google Scholar] [CrossRef]
  9. Lin, M.; Huang, C.; Chen, R.; Fujita, H.; Wang, X. Directional correlation coefficient measures for Pythagorean fuzzy sets: Their applications to medical diagnosis and cluster analysis. Complex Intell. Syst. 2021, 7, 1025–1043. [Google Scholar] [CrossRef]
  10. Behura, A. The cluster analysis and feature selection: Perspective of machine learning and image processing. Data Anal. Bioinform. Mach. Learn. Perspect. 2021, 67, 249–280. [Google Scholar]
  11. Kuo, R.J.; Lin, J.Y.; Nguyen, T.P.Q. An application of sine cosine algorithm-based fuzzy possibilistic c-ordered means algorithm to cluster analysis. Soft Comput. 2021, 25, 3469–3484. [Google Scholar] [CrossRef]
  12. Jasiński, M.; Sikorski, T.; Kaczorowska, D.; Rezmer, J.; Suresh, V.; Leonowicz, Z.; Kostyła, P.; Szymańda, J.; Janik, P.; Bieńkowski, J.; et al. A case study on data mining application in a virtual power plant: Cluster analysis of power quality measurements. Energies 2021, 14, 974. [Google Scholar] [CrossRef]
  13. Benedetti, F.; Vogt, M.; Elizondo, U.H.; Righetti, D.; Zimmermann, N.E.; Gruber, N. Major restructuring of marine plankton assemblages under global warming. Nat. Commun. 2021, 12, 5226. [Google Scholar] [CrossRef] [PubMed]
  14. Bache, S.J.; Reynolds, A. Systems Thinking in a Fluid Environment: SDG 14 and the Ocean-Climate Nexus. Environ. Sci. Proc. 2022, 15, 17. [Google Scholar]
  15. Bu, Z.; Li, H.J.; Zhang, C.; Cao, J.; Li, A.; Shi, Y. Graph K-means based on leader identification, dynamic game, and opinion dynamics. IEEE Trans. Knowl. Data Eng. 2019, 32, 1348–1361. [Google Scholar] [CrossRef]
  16. Tang, J.; Xu, X. Research on Detection of Chinese Microblog Public Opinion Analysis System. In Proceedings of the 11th International Conference on Computer Engineering and Networks; Springer: Singapore, 2022; Volume 67, pp. 766–773. [Google Scholar]
  17. Rahim Taleqani, A.; Hough, J.; Nygard, K.E. Public opinion on dockless bike sharing: A machine learning approach. Transp. Res. Rec. 2019, 2673, 195–204. [Google Scholar] [CrossRef]
  18. Li, L.; Wang, J.; Li, X. Efficiency analysis of machine learning intelligent investment based on K-means algorithm. IEEE Access 2020, 8, 147463–147470. [Google Scholar] [CrossRef]
  19. Zheng, Z.; Qianqian, H.; Nannan, T. Evaluating SMEs-Supporting Policies During COVID-19 Pandemic with K-Means Clustering. Data Anal. Knowl. Discov. 2022, 5, 148–157. [Google Scholar]
  20. Abernathy, A.; Celebi, M.E. The incremental online k-means clustering algorithm and its application to color quantization. Expert Syst. Appl. 2022, 3, 117927. [Google Scholar] [CrossRef]
  21. Khooshechin, S.; Mansourzadeh, F.; Imani, M.; Safdari, J.; Mallah, M.H. Optimization of flexible square cascade for high separation of stable isotopes using enhanced PSO algorithm. Prog. Nucl. Energy 2021, 140, 103922. [Google Scholar] [CrossRef]
  22. Gao, H.; Li, Y.; Kabalyants, P.; Xu, H.; Martinez-Bejar, R. A novel hybrid PSO-K-means clustering algorithm using Gaussian estimation of distribution method and Lévy flight. IEEE Access 2020, 8, 122848–122863. [Google Scholar] [CrossRef]
Figure 1. K-means algorithm flow.
Figure 1. K-means algorithm flow.
Ijerph 20 05130 g001
Figure 2. PSO-K-means algorithm flow.
Figure 2. PSO-K-means algorithm flow.
Ijerph 20 05130 g002
Figure 3. Application of PSO-K-means algorithm.
Figure 3. Application of PSO-K-means algorithm.
Ijerph 20 05130 g003
Figure 4. Analysis of the comments data of the marine environmental protection network.
Figure 4. Analysis of the comments data of the marine environmental protection network.
Ijerph 20 05130 g004
Figure 5. Mapping relationship among document set, latent variable, and word set.
Figure 5. Mapping relationship among document set, latent variable, and word set.
Ijerph 20 05130 g005
Figure 6. Clustering of online comment texts.
Figure 6. Clustering of online comment texts.
Ijerph 20 05130 g006
Figure 7. Cluster analysis diagram of marine environmental protection comments.
Figure 7. Cluster analysis diagram of marine environmental protection comments.
Ijerph 20 05130 g007
Figure 8. Schematic diagram of the feature word cloud.
Figure 8. Schematic diagram of the feature word cloud.
Ijerph 20 05130 g008
Figure 9. The effect of different thresholds on the regression rate.
Figure 9. The effect of different thresholds on the regression rate.
Ijerph 20 05130 g009
Table 1. Systematic summary of the literature review data.
Table 1. Systematic summary of the literature review data.
Literature NumberAuthorYearResearch Content
[15]Bu et al.2019K-means clustering analysis based on leader identification and dynamic game
[16]Tang2022Chinese detection and research of microblog public opinion analysis system
[17]Rahim Taleqani et al.2019Public perception of no-dock bike sharing
[18]Li et al.2020Machine learning intelligent model based on K-means algorithm
[19]Zheng et al.2022Evaluation of small and medium-sized enterprise support policies based on K-means clustering
Table 2. Clustering results of marine environmental protection review data.
Table 2. Clustering results of marine environmental protection review data.
Number of ClustersClusterFeature WordNumber
K = 61Pollution, marine, and environment1956
2Water quality, resources, and supervision712
3Plastic, leaking, and creature695
4Life, ship, and development679
5Food chain, health, and transportation476
6Legislation, ocean currents, and red tides312
K = 51Pollution, marine, and environment2214
2Water quality, resources, and supervision806
3Plastic, leaking, and creature714
4Life, ship, and development695
5Food chain, health, and transportation401
K = 41Pollution, marine, and environment2367
2Water quality, resources, and supervision984
3Plastic, leaking, and creature758
4Life, ship, and development721
Table 3. Comparison of recall rates of two algorithms.
Table 3. Comparison of recall rates of two algorithms.
ThresholdRecall
PSO-K-MeansK-Means
0.10.680.68
0.20.770.76
0.30.800.79
0.40.820.81
0.50.850.83
0.60.830.83
0.70.820.81
0.80.770.77
0.90.770.75
Table 4. Comparative analysis table of accuracy values of the two algorithms.
Table 4. Comparative analysis table of accuracy values of the two algorithms.
AccuracyThreshold
0.10.20.30.40.50.60.70.80.9
PSO-K-means0.720.810.850.860.900.880.860.810.81
K-means0.720.800.830.850.870.860.860.810.80
Table 5. Comparative analysis table of the time required for clustering of the two algorithms.
Table 5. Comparative analysis table of the time required for clustering of the two algorithms.
Time (ms)Threshold
0.10.20.30.40.50.60.70.80.9
PSO-K-means88.7284.1182.0378.4477.9977.7276.9976.3277.62
K-means89.1285.0183.5581.8180.1380.1478.9679.0281.84
Table 6. Statistics of comment information in different time windows.
Table 6. Statistics of comment information in different time windows.
Feature WordYearsWord Frequency
Health1982–19923
Pollution1992–200016
Environment2000–2010491
Legislation2010–20212357
Feature wordYearsWord frequency
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, A.; Yang, S. The Impact of the Implementation of International Law on Marine Environmental Protection on International Public Health Driven by Multi-Source Network Comment Mining. Int. J. Environ. Res. Public Health 2023, 20, 5130. https://doi.org/10.3390/ijerph20065130

AMA Style

Yang A, Yang S. The Impact of the Implementation of International Law on Marine Environmental Protection on International Public Health Driven by Multi-Source Network Comment Mining. International Journal of Environmental Research and Public Health. 2023; 20(6):5130. https://doi.org/10.3390/ijerph20065130

Chicago/Turabian Style

Yang, Anqi, and Shudong Yang. 2023. "The Impact of the Implementation of International Law on Marine Environmental Protection on International Public Health Driven by Multi-Source Network Comment Mining" International Journal of Environmental Research and Public Health 20, no. 6: 5130. https://doi.org/10.3390/ijerph20065130

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop