Next Article in Journal
Design of a Portable Orthogonal Surface Acoustic Wave Sensor System for Simultaneous Sensing and Removal of Nonspecifically Bound Proteins
Next Article in Special Issue
Critical Location Spatial-Temporal Coverage Optimization in Visual Sensor Network
Previous Article in Journal
Fast Method for Liquid Crystal Cell Spatial Variations Estimation Based on Modeling the Spectral Transmission
Previous Article in Special Issue
Robust Stereo Visual-Inertial Odometry Using Nonlinear Optimization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Prediction of pH Value by Multi-Classification in the Weizhou Island Area

1
Ocean College, Zhejiang University, Zhoushan 316021, China
2
Laboratory for Marine Geology, Qingdao National Laboratory for Marine Science and Technology, Qingdao 266061, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(18), 3875; https://doi.org/10.3390/s19183875
Submission received: 21 July 2019 / Revised: 5 September 2019 / Accepted: 5 September 2019 / Published: 8 September 2019
(This article belongs to the Special Issue Multi-Sensor Fusion and Data Analysis)

Abstract

:
Ocean acidification is changing the chemical environment on which marine life depends. It causes a decrease in seawater pH and changes the water quality parameters of seawater. Changes in water quality parameters may affect pH, a key indicator for assessing ocean acidification. Therefore, it is particularly important to study the correlation between pH and various water quality parameters. In this paper, several water quality parameters with potential correlation with pH are investigated, and multiple linear regression, softmax regression, and support vector machine are used to perform multi-classification. Most importantly, experimental data were collected from Weizhou Island, China. The classification results show that the pH has a strong correlation with salinity, temperature, and dissolved oxygen. The prediction accuracy of the classification is good, and the correlation with dissolved oxygen is the most significant. The prediction accuracies of the three methods for multi-classifiers based on the above three factors reach 87.01%, 87.77%, and 89.04%, respectively.

1. Introduction

Human activities such as the use of fossil fuels lead to an increase in atmospheric CO2 concentrations. It increased from 28 Pa before the Industrial Revolution to 41 Pa (November 2016), an increase of about 46%, and continues to grow at a rate of 0.5% per year [1]. However, as the concentration of CO2 in the atmosphere continues to increase, the amount of CO2 absorbed by the ocean increases, causing the alkalinity of the surface seawater to decrease, leading to ocean acidification [2]. Research based on the Coupled Model Intercomparison Project Phase 5 shows that in high-concentration emissions scenarios, the pH and primary production of the global ocean will decrease by 0.330 (±0.003) and 8.6% (±7.9%) by the end of the 21st century, respectively, and the concentration of chlorophyll a, phosphate, and nitrate in the Southern Ocean will be significantly reduced [3,4,5].
An important property of aqueous solutions is pH because it affects chemical and biochemical properties such as chemical reactions, equilibrium conditions, and biological toxicity [6]. The changes in ocean chemistry caused by ocean acidification are changing the chemical environment in which marine life depends. The metabolic processes of marine organisms will be affected and the stability of marine ecology will change [7]. pH is one of the key indicators of ocean acidification. Reasonable monitoring of water parameters and correct prediction of pH can effectively avoid the adverse effects of ocean chemical environment and biological ecology caused by ocean acidification. Therefore, it is important to study the relationship between pH and dynamic water quality parameters that vary significantly in the ocean.
Modeling and predicting the effect of nutrients and other environmental variations on pH have been extensively studied in the current literature. Blackford and Gilbert [8] used a coupled carbonate system–marine ecosystem–hydrodynamic model to simulate the temporal and spatial variability in pH across the southern North Sea and simulated the observed inhibition of pelagic nitrification with decreasing pH. Turner, Pelletier, and Kasper [9] used the water quality model QUAL2Kw to conclude that nutrient enrichment of the South Umpqua River, Oregon, was linked to periphyton growth and large diel fluctuations in dissolved oxygen and hydrogen ion (pH) concentrations. Robert-Baldo and Morris [10] used spectrophotometric methods to determine the pH of seawater, and the relationship between temperature and salinity on the phenol red equilibrium constant was obtained to characterize the relationship between temperature and salinity and pH. Halevy and Bachan [11] developed a statistical model of seawater pH as a function of pCO2 (atmospheric partial pressure of CO2) and the suite of parameters that govern ocean chemistry. It is noted that all these studies were based on the modeling of continuous pH values. In this paper, the pH is regarded as a discrete quantity, which is regarded as a multi-classification problem.
The goal of this paper is to develop a reliable approach to model the correlation between pH and the water quality parameters, and predict pH by water quality parameters. To achieve this goal, several different water parameters, which have potential correlation with pH, are selected. Multiple linear regression, softmax regression, and multi-classification support vector machine are employed to obtain the correlation between these parameters and pH. We use cross-validation methods to get a reliable and stable model and compare the accuracies of three methods for pH value prediction.

2. Materials and Methods

2.1. Data Collection

The system is placed on Weizhou Island in Beihai, Guangxi, about 600–800 m offshore and is located at a depth of about 3 m. The latitude and longitude coordinates of the system are N 21°4′57.81″, E 109°7′32.31″. The main observation factors include velocity profile and seabed temperature, salinity, depth, chlorophyll, dissolved oxygen, pH, turbidity, etc. The system is mainly equipped with Norway Nortek flow profiler and American multi-parameter water quality meter AML (seven parameters). The meter is used in Weizhou Island to sample seawater every 60 s in a certain depth range, analyze various parameters of seawater, and send them to the host. In this experiment, seawater quality parameters include salinity (Sal), temperature (T), depth (Dep), dissolved oxygen (DO), chlorophyll a (Chl), and pH. In the experiment, the data were continuously recorded daily from 2 October 2018 to 28 November 2018 and 78,701 sets of data were recorded. Since the pH changes very little in seawater and the accuracy of the instrument is not high enough, only five different initial values can be measured which are 2.13, 2.14, 2.15, 2.16, and 2.17. According to the conversion formula pH = initial value × (−9.465) + 28.383, five different pH values can be obtained, namely 7.8439, 7.9386, 8.0332, 8.1279, 8.2226, and the results are just applied to the multi-classification problem.

2.2. Problem Set up

Consider the problem as follows: The matrix X M × N , M = 5, looking for a mapping relationship: f ( X ) y , which can make X accurately map to the corresponding y. Here, the matrix X and y are of the form:
X = [ x Sal x T x Dep x DO x Chl ] = [ x Sal ( 1 ) x Sal ( 2 ) x Sal ( 3 ) x Sal ( N ) x T ( 1 ) x T ( 2 ) x T ( 3 ) x T ( N ) x Dep ( 1 ) x Dep ( 2 ) x Dep ( 3 ) x Dep ( N ) x DO ( 1 ) x DO ( 2 ) x DO ( 3 ) x DO ( N ) x Chl ( 1 ) x Chl ( 2 ) x Chl ( 3 ) x Chl ( N ) ] ,
y = [ y ( 1 ) y ( 2 ) y ( 3 ) y ( N ) ] ,
where X is the water parameter matrix containing salinity (Sal), temperature (T), depth (Dep), dissolved oxygen (DO), and chlorophyll a (Chl). y is the matrix vector of pH. x ( ) ( i ) denotes the ith value of x ( ) . y ( i ) denotes the ith value of y. In the measurement process, the pH has 5 different values, thus y ( i ) { pH 1 , pH 2 , pH 3 , pH 4 , pH 5 } .

2.3. Data Pre-Processing

In the actual training process, due to the uncertain factors in the seawater and the instrument itself, the fluctuation of the factor of Chl is obviously too large, which has a serious interference effect on the establishment of the prediction model. The chlorophyll content in seawater is unevenly distributed, and the sampling interval of the instrument is one minute. When the instrument detects the chlorophyll-rich seawater brought by the current, it produces outliers. The BoxPlot [12] uses Inter Quartile Range (IQR) for efficient identification of outlier values to prevent these values to influence the quality of outcomes. Compared with the 3-Sigma [13] method or Z-score [14] method based on normal distribution, it is not affected by outliers and can accurately and stably depict the discrete distribution of data. Removing outliers detected by box plot makes the chlorophyll a concentration more statistically significant. The chlorophyll a concentration before and after treatment is shown in Figure 1.
Data should be pre-processed by standardization before multi-classification to reduce the order of magnitude difference between different data. In the field observation data, each water quality parameter has different dimensions and dimension units, which will affect the results of the data analysis. In order to eliminate the dimensional influence between indicators, data standardization processing is needed to resolve the comparability between data indicators, so that the pre-processed data is limited to a certain range (such as [0,1] or [−1,1]), thereby eliminating the adverse effects caused by singular sample data. The following two methods are predominantly used.

2.3.1. Min-Max Normalization

The method of min-max normalization [15] is a linear transformation of the original data, mapping the resulting values between [0 1]. The conversion function is:
x k = ( x k x min ) / ( x max x min ) ,
where x max and x min are the maximum and minimum values of x Sal , and x k is the pre-processed data. We normalize other parameter vectors, including x T , x Dep , x DO , x Chl .

2.3.2. Z-Score Standardization

The method of z-score standardization [16] gives the mean and the standard deviation of the raw data for standardization of the data. It applies to situations where the maximum and minimum values of the data are unknown, or where there is outlier data outside the range of values. The processed data conforms to the standard normal distribution, i.e., the mean is 0, the standard deviation is 1, and the conversion function is:
x k = ( x k x mean ) / x var ,
x var = 1 N i = 1 N ( x i μ ) 2 ,
where x mean and x var are the mean and variances of x Sal , and x k is the pre-processed data. We normalize other parameter vectors, including x T , x Dep , x DO , x Chl .
For multi-class support vector machines, after uneven scaling in each dimension, the optimal solution is not equivalent to the original. It must be standardized so that the model parameters are not disturbed by data with a large or small distribution range, and the speed of the gradient can be accelerated to find the optimal solution [17]. In the establishment of mathematical models, it was found that the use of min-max standardization performed better in multi-class Support Vector Machine (SVM), while the Z-score standardization method performed better in softmax regression and multiple linear regression.

2.4. Multi-Classification Methods

2.4.1. Multiple Linear Regression (MLR)

MLR is a traditional method mainly used to cope with the multiparameter problems [18]. MLR models the relationship between dependent variable and two or more independent variables by linear regression and makes predictions about new data. The MLR function is given by
h θ ( X ) = θ 0 + j = 1 M θ j X j = θ T X j ,
where h θ ( X ) is the prediction value of y, X j is the independent variable, θ i is the regression coefficient, and θ 0 is the value of the intercept in the linear fitting. pH can be expressed like this:
h θ ( X ) = θ 0 + θ 1 x Sal + θ 2 x T + θ 3 x Dep + θ 4 x DO + θ 5 x Chl ,
where x Sal , x T , x Dep , x DO , x Chl represent salinity, temperature, depth, dissolved oxygen, and chlorophyll a, respectively. The cost function of MLR is defined as:
J ( θ ) = 1 2 N i = 1 N ( h θ ( X ( i ) ) y ( i ) ) 2 .
pH has only 5 determined values, and then multi-classification is performed according to the distance between the test points and the 5 values. The minimum value of the distance from the test point is the pH of the test point.

2.4.2. Softmax Regression

The softmax regression model [19] is another algorithm for solving multi-class regression problems and is a classifier widely used in the deep network supervised learning part of current deep learning research [20]. Softmax regression is a supervised learning algorithm that requires both input x and the corresponding expected output y. The experimental data { ( X ( 1 ) , y ( 1 ) ) , ( X ( 2 ) , y ( 2 ) ) , , ( X ( N ) , y ( N ) ) } will be obtained, X ( i ) 6 , i = 1 , 2 , , N denotes the ith column of X and contains 6 components, the intercept term, salinity (Sal), temperature (T), depth (Dep), dissolved oxygen (DO), and chlorophyll a (Chl), i.e., X ( i ) = [ 1   x Sal ( i )   x T ( i )   x Dep ( i )   x Do ( i ) x Chl ( i ) ] T . y ( i ) { 1 , 2 , 3 , 4 , 5 } , corresponds to pH1, pH2, pH3, pH4, pH5.
There are 5 different pH values in total, corresponding to k = 5 classifications. For each input X ( i ) there will be a probability p ( y = j   |   X ) for each class. From a vector perspective, it is:
h θ ( X ( i ) ) = [ p ( y ( i ) = 1 | X ( i ) ; θ ) p ( y ( i ) = 2 | X ( i ) ; θ ) p ( y ( i ) = k | X ( i ) ; θ ) ] = 1 j = 1 k e θ T X ( i ) [ e θ 1 T X ( i ) e θ 2 T X ( i ) e θ k T X ( i ) ] ,
where θ 1 , θ 2 , , θ k e n + 1 is the parameters of the model.
The cost function of softmax regression [21] is defined as follows:
J ( θ ) = 1 m [ i = 1 m j = 1 k 1 { y ( i ) = j } log ( p ( y ( i ) = j | X ( i ) ; θ ) ) ] + λ 2 i = 1 k j = 0 n θ i j 2
p ( y ( i ) = j | X ( i ) ; θ ) = exp ( θ i T X ( i ) ) k = 1 k exp ( θ k T X ( i ) ) ,
where 1{·} is the indication function. If the expression in curly braces is true, the function is indicated as 1; otherwise, it is 0, and λ 2 i = 1 k j = 0 n θ i j 2 is a penalty term.
The cost function is generally minimized by a gradient descent optimization algorithm, and the coefficients θ 1 , θ 2 , θ 3 , θ 4 , θ 5 are obtained. In the softmax classifier, when classifying an unknown sample, the corresponding vector is tested separately on the classifier, and the size of the result is used to characterize the probability of belonging to the class. We can know the probability of belonging to each class and think that the probability is unknown. The sample belongs to the class with the highest probability.

2.4.3. Multi-Class Support Vector Machine

Support Vector Machine (SVM) is widely used as a typical classification algorithm [22]. Support Vector Machine (SVM) is a generalized linear classifier for binary classification of data in supervised learning. As a two-class classifier, it can only distinguish between two different pHs. Multi-classification of support vector machines currently uses two methods of all-together and combined coding [23,24]. The all-together method is to modify the objective function and strives to solve all classification problems at one time. However, because of its high computational complexity, the implementation is difficult, and the accuracy is not superior to the indirect method, so it is not commonly used. In this paper, the combination coding method is mainly used to construct multi-class classification by constructing multiple two-class SVMs and combining coding methods.
The combined coding method includes one-against-all method [25], one-against-one method [26], error correction output coding method [27], and minimum output coding method. Hsu and Lin [23] concluded that no method can compete with the one-against-one method in the training time and no method is statistically better than the method in the generalization performance.
One-against-all method is to design a hyperplane between any two classes of samples, so k classes of samples need to design k(k − 1)/2 classifiers. When classifying an unknown sample, the corresponding vector is tested on the classifier. Each classifier gives one vote to the winning class. The class with the most votes is the class of the unknown sample.
Through experiments, we have five different pH values, so we need to build 10 two-class support vector machines. An example of a classifier is created by pH1 and pH2. The pre-processed data { ( X ( 1 ) , y ( 1 ) ) , ( X ( 2 ) , y ( 2 ) ) , , ( X ( N ) , y ( N ) ) } is a training set of N = 78105. X ( i ) 6 , i = 1 , 2 , , N , i.e., X ( i ) = [ 1   x Sal ( i )   x T ( i )   x Dep ( i )   x Do ( i ) x Chl ( i ) ] T , and y ( i ) { 1 , 1 } corresponds to pH1, pH2. Then there is an optimal classification hyperplane that satisfies the following conditions. The hyperplane makes the point-to-plane distance of any sample greater than or equal to 1.
{ w T X ( i ) + b 1 , y ( i ) = 1 w T X ( i ) + b 1 , y ( i ) = 1 ,
where w , b are the normal vectors and intercepts of the hyperplane.
In Figure 2, all samples above the upper supported plane belong to the positive class, and samples below the lower supported plane belong to the negative class. The distance between two supported planes d = 2 / w is defined as the margin, and the positive and negative samples at the supported plane are support vectors. SVM is to get the hyperplane that can correctly divide the data and maximize the margin. The problem can be expressed in the following mathematical expressions:
max w , b 2 w s . t . y ( i ) ( w T X ( i ) + b ) 1 0 .
Obviously, maximizing d = 2 / w is equivalent to minimizing w . For the convenience of calculation, Formula (9) is transformed into the following:
min w , b 1 2 w 2 s . t . y ( i ) ( w T X ( i ) + b ) 1 0 .
There is a case where the dimension of the feature space is large. Therefore, one constructs the Lagrangian.
min α 1 2 i = 1 N j = 1 N α i α j y ( i ) y ( j ) K ( x ( i ) , x ( j ) ) i = 1 N α i s . t .   i = 1 N α i y ( i ) = 0 0 α i C , i = 1 , 2 , , N ,
where α i is Lagrange multiplier, K ( x i , x j ) is the kernel function, and C is the soft edge penalty parameter, which is used to balance the training error and generalization ability of the algorithm. According to Mercer’s Theorem, the linear kernel function is used here.
K ( x , x ) = x T x
In the same way, the remaining nine two-class classifiers are built. When an unknown sample is classified and its pH is predicted by one-against-one, the corresponding vector is tested on the classifier, and then the voting form is adopted. The class is the pH of the unknown sample, and the multi-classification based on the support vector machine can be completed.

2.4.4. Summary

Multiple linear regression is used to fit the curve, and the multi-classification is performed by the distance. The cost function of multiple linear regression ignores the decision function of judging distance. Therefore, the prediction accuracy is not high. Softmax regression can get the possibility of the sample for each category and can show the accuracy of different classifications. The SVM can only get a certain result, and the deviation between the predicted result and the actual result cannot be obtained to indicate the accuracy of the prediction.

3. Experimental Results

A total of 78,701 data sets were used, and these data were divided into five groups according to the difference in pH. By using the 10-fold cross-validation method, each group was divided into 10 equal parts, and then nine parts were taken in each group as the training model, and the rest of the data was used as the test group. The 10 times 10-fold cross validation was used to obtain the average value of the prediction accuracies for each pH is obtained as an estimate of the accuracies of the methods. The data volume of the five groups of pH is about 1:13:210:160:7.
Table 1 shows the mean and root mean squared error (RMSE) of each coefficient by the MLR model before and after data pre-processing. Obviously, the value of the regression coefficient does not change much after the data processing, but the RMSE has been significantly reduced. The reduction in RMSE illustrates that data processing enhances the reliability of the model. The classifier is suitable for this research goal of predicting pH through water body parameters.
Figure 3 and Figure 4 are the error bar graphs of multi-classifier coefficients by softmax regression before and after data pre-processing, which characterizes the mean and root mean squared error (RMSE) of the classifier coefficients under 10 subgroups. Figure 5 and Figure 6 are the error bar graphs of multi-classifier coefficients by SVM before and after data pre-processing. When softmax regression and support vector machines are used to multi-classify pH, the fluctuation values of their classifier coefficients are also very small after data pre-processing, which improves the overall performance of the multi-classifier. Then it is initially recognized that the absolute value of the coefficient of the DO factor is still large in both the SVM classifier and the softmax regression, and there is a great correlation with the prediction of pH.
Figure 7 and Figure 8 show the training accuracies and test accuracies of the three multi-class methods before and after data pre-processes, respectively. The training accuracy and test accuracy are respectively the ratio of the quantity predicted by the model to the actual result and the total quantity, in the training set and the test set. It can be found that the accuracies of the three models are very similar, and the test accuracy is slightly lower than the training accuracy, indicating that the model has no overfitting and the pH prediction is reliable. After the data is preprocessed, the accuracies of pH1, pH2, pH3, and pH4 have been improved accordingly, and pH5 has decreased, but the overall accuracy is improved. The data preprocessing has a significant improvement on the reliability of the model. The training accuracies and test accuracies by MLR and softmax regression for pH1 are almost zero. This is mainly because when the cost function is calculated, the data volume of pH1 is too small, and the weight in the cost function is too small. In contrast, the multi-classifier by SVM performs very well at pH1. Overall, the SVM is superior to the other two methods in predicting the pH. In addition, the RMSE of the accuracy is within acceptable limits.
To simplify the comparison between the different models, we calculated the mean and RMSE of the prediction accuracy. Considering that not all five dependent variables have a strong correlation to pH prediction. Therefore, the prediction accuracy is taken as a reference index for the reliability of the model. The multi-classification was performed by removing the single dependent variable or by retaining the single dependent variable. Before being processed, the prediction accuracies of the classifier based on MLR, softmax regression, and SVM are 87.14%, 87.96%, and 89.11%, respectively, as a measure of the change in prediction values before and after processing.
Figure 9 shows the mean and RSME of the prediction accuracies by three methods. Overall, MLR has the lowest prediction accuracy and SVM has the highest prediction accuracy. It is worth noting that when the dependent variable DO is not considered, it is found that the prediction accuracies of the three methods are greatly reduced. This greatly explains that the DO has an important relationship with the prediction of pH. When the Chl and Dep are removed separately, it is found that the average values of the prediction accuracies of the three methods is not changed much and the variation range is not more than 0.2%. It is considered that within a certain range, the effect of both on pH prediction can be ignored. When the two dependent variables Sal and T are not considered, the prediction accuracy of MLR decreases from 87.14% to 83.84% and 86.23%, respectively. The prediction accuracy of softmax regression decreases from 87.96% to 85.75% and 86.98%, respectively. The prediction accuracy of SVM decreases from 89.11% to 86.99% and 87.85%, respectively. Sal and T have a certain effect on the pH prediction, but the effect is much less than DO.
After screening single factors and performing single factor multi-classification, it can be found that the prediction accuracies of classifiers based on Sal, T, or DO are higher than 60%. Among them, the prediction accuracies of classifier based on DO is as high as 72.45%, 75.03%, and 75.55% in the three multi-classification methods, which proves that DO has a great influence on the pH prediction. The prediction accuracy of the single factor classifiers based on Sal or T is second. The changes in the prediction accuracy after removing and retaining factors are just the opposite, indicating the broad applicability of the conclusions. Among the five factors, the three factors of DO, Sal, and T have the highest correlation with pH prediction, and Dep and Chl have almost no effect. In order to simplify the multi-classification model for predicting pH, the two poorly correlated factors, Dep and Chl, are not considered, and the model of the classifier is further simplified in different ways. Then, the final method of simplifying the prediction model is determined by observing the change in the prediction accuracy.
To simplify the model, we reduce the complexity of the model by reducing the dependent variable, making the model easier to calculate. From Figure 10, Dep and Chl have little correlation with pH. When the two factors of Dep and Chl are removed, there is no significant change in the average of the prediction accuracy. After parameters Dep and Chl are removed, parameters Sal and T are removed in different orders. When parameter Sal is removed first, there is a great change on prediction accuracy and it drops by 3%. However, while after removing parameter T first, the prediction accuracy only drops by 1%. When they are all removed, the prediction accuracy drops significantly, dropping more than 13%. According to the change of the prediction accuracy, the three factors of Sal, T, and DO are used to establish a multi-classification model. The prediction accuracies of multi-classifiers using three factors in three ways are 87.01%, 87.77%, and 89.04%. Compared with the original correct rate, it only reduced by about 0.1%, but the model is greatly simplified.
The relative stability of seawater pH is primarily controlled by the dissociation equilibrium of the dissolved inorganic carbonate. Marine plants absorb free carbon dioxide during photosynthesis, while releasing the same amount of oxygen, thus reducing the pH of seawater. The pH of seawater will decrease slightly with increasing temperature, which is the result of the increase in the ionization constant of weak acid in seawater with increasing temperature. As the seawater salinity increases, the ionic strength will increase, and the degree of ionization of carbonic acid in seawater is affected. Thereby, the activity coefficient and activity of the hydrogen ions increases, that is, the pH of the seawater decreases. As mentioned above, this and the results obtained after modeling are mutually validated, which further verifies the reliability of the model.

4. Conclusion

The massive discharge of CO2 gas leads to acidification of the ocean, affecting the water quality parameters and pH of the ocean. In this paper, MLR, softmax regression, and support vector machine were used to predict the correlation between selected water quality parameters and pH value by multi-classification. A total of 78,107 data sets were used in the experiment, and 10-fold cross-validation methods were used.
The mean and RMSE of the prediction accuracies were computed, which were major criteria used to evaluate the performances of different methods. The results show that the multi-classifier based on support vector machine has higher prediction accuracy than MLR and softmax regression. SVM can also make good predictions for pH with less data volume, while the other two do not. Moreover, the model can be simplified by removing the two factors Chl and Dep. The prediction accuracies of the three-factor multi-classification model of DO, T, and Sal are almost not reduced compared with five factors, and the prediction of pH is the most relevant to dissolved oxygen. Another goal in the future is to consider more water parameters, such as transparency, in related testing and modeling.

Author Contributions

Conceptualization, H.H. and J.Z.; computer simulation, R.F.; formal analysis, R.F. and H.H.; data curation, R.F. and P.L.; investigation, H.H. and P.L.; writing—original draft, R.F. and J.Z.; writing—review & editing, R.F. and H.H.

Funding

This research was supported by the NSFC Projects under Grants 41576031 and 51120195001.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Global Warming Update. Available online: https://www.co2.earth/global-warming-update/ (accessed on 6 July 2019).
  2. Kleypas, J.A. Ocean acidification: The other CO₂ problem. Annu. Rev. Mar. Sci. 2009, 1, 169–192. [Google Scholar]
  3. Bopp, L.; Resplandy, L.; Orr, J.C.; Doney, S.C.; Dunne, J.P.; Gehlen, M.; Tjiputra, J. Multiple stressors of ocean ecosystems in the 21st century: Projections with CMIP5 models. Biogeosciences 2013, 10, 6225–6245. [Google Scholar] [CrossRef]
  4. Rickard, G.J.; Behrens, E.; Chiswell, S.M. CMIP5 earth system models with biogeochemistry: An assessment for the southwest Pacific Ocean. J. Geophys. Res. Ocean. 2016, 121, 7857–7879. [Google Scholar] [CrossRef]
  5. Vancoppenolle, M.; Bopp, L.; Madec, G.; Dunne, J.; Ilyina, T.; Halloran, P.R.; Steiner, N. Future Arctic Ocean primary productivity from CMIP5 simulations: Uncertain outcome, but consistent mechanisms. Glob. Biogeochem. Cycles 2013, 27, 605–619. [Google Scholar] [CrossRef] [Green Version]
  6. Marion, G.M.; Millero, F.J.; Camões, M.F.; Spitzer, P.; Feistel, R.; Chen, C.T. pH of seawater. Mar. Chem. 2011, 126, 89–96. [Google Scholar] [CrossRef]
  7. Riebesell, U. Climate change: Acid test for marine biodiversity. Nature 2008, 454, 46. [Google Scholar] [CrossRef] [PubMed]
  8. Blackford, J.C.; Gilbert, F.J. pH variability and CO2 induced acidification in the North Sea. J. Mar. Syst. 2007, 64, 229–241. [Google Scholar] [CrossRef]
  9. Turner, D.F.; Pelletier, G.J.; Kasper, B. Dissolved oxygen and pH modeling of a periphyton dominated, nutrient enriched river. J. Environ. Eng. 2009, 135, 645–652. [Google Scholar] [CrossRef]
  10. Robert-Baldo, G.L.; Morris, M.J.; Byrne, R.H. Spectrophotometric determination of seawater pH using phenol red. Anal. Chem. 1985, 57, 2564–2567. [Google Scholar] [CrossRef]
  11. Halevy, I.; Bachan, A. The geologic history of seawater pH. Science 2017, 355, 1069–1071. [Google Scholar] [CrossRef]
  12. Rousseeuw, P.J.; Ruts, I.; Tukey, J.W. The bagplot: A bivariate boxplot. Am. Stat. 1999, 53, 382–387. [Google Scholar]
  13. Bakar, Z.A.; Mohemad, R.; Ahmad, A.; Deris, M.M. A comparative study for outlier detection techniques in data mining. In Proceedings of the 2006 IEEE conference on cybernetics and intelligent systems, Bangkok, Thailand, 7–9 June 2006. [Google Scholar]
  14. Shiffler, R.E. Maximum Z scores and outliers. Am. Stat. 1988, 42, 79–80. [Google Scholar]
  15. Kumar, M.P.; Rajagopal, M.K. Detecting Happiness in Human Face using Unsupervised Twin-Support Vector Machines. Int. J. Intell. Syst. Appl. 2018, 10, 85. [Google Scholar] [CrossRef]
  16. Jain, S.; Shukla, S.; Wadhvani, R. Dynamic selection of normalization techniques using data complexity measures. Expert Syst. Appl. 2018, 106, 252–262. [Google Scholar] [CrossRef]
  17. Wu, X.; Ward, R.; Bottou, L. WNGrad: Learn the learning rate in gradient descent. arXiv 2009, arXiv:1803.02865. [Google Scholar]
  18. Zhou, Y.; Huang, H.; Ding, J.; Wang, H.; Chen, Y.; Wang, J. Modeling Chlorophyll a Concentration Affected by Artificial Upwelling in Qiandao Lake. IEEE J. Ocean. Eng. 2016, 41, 960–969. [Google Scholar] [CrossRef]
  19. Low, J.X.; Choo, K.W. Classification of Heart Sounds Using Softmax Regression and Convolutional Neural Network. In Proceedings of the 2018 International Conference on Communication Engineering and Technology, Singapore, 24–26 February 2018. [Google Scholar]
  20. Chen, L.; Zhou, M.; Su, W.; Wu, M.; She, J.; Hirota, K. Softmax regression based deep sparse autoencoder network for facial emotion recognition in human-robot interaction. Inf. Sci. 2018, 428, 49–61. [Google Scholar] [CrossRef]
  21. Jiang, M.; Liang, Y.; Feng, X.; Fan, X.; Pei, Z.; Xue, Y.; Guan, R. Text classification based on deep belief network and softmax regression. Neural Comput. Appl. 2018, 29, 61–70. [Google Scholar] [CrossRef]
  22. Huang, C.L.; Wang, C.J. A GA-based feature selection and parameters optimizationfor support vector machines. Expert Syst. Appl. 2006, 31, 231–240. [Google Scholar] [CrossRef]
  23. Hsu, C.W.; Lin, C.J. A comparison of methods for multiclass support vector machines. IEEE Trans. Neural Netw. 2002, 13, 415–425. [Google Scholar]
  24. Xu, J.; Han, J.; Nie, F.; Li, X. Multi-view Scaling Support Vector Machines for Classification and Feature Selection. IEEE Trans. Knowl. Data Eng. 2019. [Google Scholar] [CrossRef]
  25. Zhang, S.; Hu, B.; Li, T.; Zheng, X. A Study on Emotion Recognition Based on Hierarchical Adaboost Multi-class Algorithm. In Proceedings of the International Conference on Algorithms and Architectures for Parallel Processing, Guangzhou, China, 15–17 November 2018. [Google Scholar]
  26. Gonzalez, L.; Velastin, S.A.; Acuna, G. Silhouette-based human action recognition with a multi-class support vector machine. In Proceedings of the 9th International Conference on Pattern Recognition Systems, Valparaíso, Chile, 22–24 May 2018. [Google Scholar]
  27. Übeyli, E.D. ECG beats classification using multiclass support vector machines with error correcting output codes. Digit. Signal Process. 2007, 17, 675–684. [Google Scholar] [CrossRef]
Figure 1. Data pre-processing results.
Figure 1. Data pre-processing results.
Sensors 19 03875 g001
Figure 2. Hyperplane schematic diagram.
Figure 2. Hyperplane schematic diagram.
Sensors 19 03875 g002
Figure 3. Coefficients by softmax regression before data preprocessing.
Figure 3. Coefficients by softmax regression before data preprocessing.
Sensors 19 03875 g003
Figure 4. Classifiers by softmax regression after data preprocessing.
Figure 4. Classifiers by softmax regression after data preprocessing.
Sensors 19 03875 g004
Figure 5. Coefficients by Support Vector Machine (SVM) before data preprocessing.
Figure 5. Coefficients by Support Vector Machine (SVM) before data preprocessing.
Sensors 19 03875 g005
Figure 6. Coefficients by SVM after data preprocessing.
Figure 6. Coefficients by SVM after data preprocessing.
Sensors 19 03875 g006
Figure 7. The training accuracy for each pH by three methods.
Figure 7. The training accuracy for each pH by three methods.
Sensors 19 03875 g007
Figure 8. The test accuracy for each pH by three methods.
Figure 8. The test accuracy for each pH by three methods.
Sensors 19 03875 g008
Figure 9. Prediction accuracy after one factor is removed or retained.
Figure 9. Prediction accuracy after one factor is removed or retained.
Sensors 19 03875 g009
Figure 10. Prediction accuracy after simplifying the model.
Figure 10. Prediction accuracy after simplifying the model.
Sensors 19 03875 g010
Table 1. Coefficients and root mean squared error (RMSE) of multiple linear regression (MLR).
Table 1. Coefficients and root mean squared error (RMSE) of multiple linear regression (MLR).
VariableParameters (Before)RMSEParameters (After)RMSE
Intercept8.074383.32419 × 10−58.075723.07905 × 10−5
Sal−0.020493.85279 × 10−5−0.020023.41996 × 10−5
T−0.004195.92817 × 10−5−0.003543.72425 × 10−5
Dep0.001004.43218 × 10−50.001213.28933 × 10−5
DO0.038464.26921 × 10−50.039723.21011 × 10−5
Chl0.003055.14602 × 10−50.001523.92131 × 10−5

Share and Cite

MDPI and ACS Style

Huang, H.; Feng, R.; Zhu, J.; Li, P. Prediction of pH Value by Multi-Classification in the Weizhou Island Area. Sensors 2019, 19, 3875. https://doi.org/10.3390/s19183875

AMA Style

Huang H, Feng R, Zhu J, Li P. Prediction of pH Value by Multi-Classification in the Weizhou Island Area. Sensors. 2019; 19(18):3875. https://doi.org/10.3390/s19183875

Chicago/Turabian Style

Huang, Haocai, Rendong Feng, Jiang Zhu, and Peiliang Li. 2019. "Prediction of pH Value by Multi-Classification in the Weizhou Island Area" Sensors 19, no. 18: 3875. https://doi.org/10.3390/s19183875

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