The invention provides a
water quality detection method based on combination of
machine learning and
spectrophotometry, and the method comprises the steps: measuring the
absorbance of a
water sample under a plurality of preset wavelengths through a spectrophotometer to form a multi-dimensional
absorbance data set, mapping the multi-dimensional
absorbance data set to a high-dimensional space through a kernel function technology to obtain a
data set with enhanced non-linear features, and carrying out the detection of the non-linear features of the multi-dimensional absorbance data set. Extracting a known
water sample and the
pollutant concentration corresponding to the known
water sample from historical
water quality data, generating a training sample set, performing
pollutant concentration prediction on the data set with the enhanced nonlinear characteristics by applying a
machine learning model, and dynamically adjusting the training sample set by adopting an active learning strategy to obtain a
pollutant concentration prediction value, and performing safety grade evaluation on the water sample and outputting a
water quality report by using the predicted value of the pollutant concentration in combination with a water
quality safety standard, the technical scheme provided by the invention improves the efficiency and accuracy of water quality detection, provides powerful
technical support for
environmental protection and
public health guarantee, and has a wide application prospect. The whole process realizes integrated operation from
data acquisition to result interpretation, and ensures scientificity and reliability of
water quality management decision.