物联网学报 (Mar 2022)

Research on water quality data classification based on weighted Naive Bayes

  • Zhihao FANG,
  • Zhengquan LI,
  • Mingwei ZHANG

Journal volume & issue
Vol. 6
pp. 113 – 122

Abstract

Read online

In order to better implement the water environmental management policies, water quality evaluation is the basic step, that is to reasonably divide it into specific water quality category according to multiple water quality parameters in a certain water area.Aimed at this problem, an improved Naive Bayes classification method was proposed, which endowed different attributes with different weights, weakened the assumption of Naive Bayes conditional independence, and made the classification result closer to the actual category.Firstly, referred to the data released by the national surface water quality automatic monitoring station, 500 water quality data were selected as samples, and an evaluation system with four indicators was established, including dissolved oxygen, permanganate index, ammonia nitrogen and total phosphorus.And then, the improved Naive Bayes classification method was used to learn and evaluate the samples, and its classification performance by the five fold cross validation method was verified.The results show that the accuracy, precision, recall and F1 value of the improved Naive Bayes classification method reach 96.0%, 95.9%, 93.8% and 94.8% respectively, with higher performance index of water quality data classification compared with other Naive Bayes classification method, which can provide some reference for the problem of water quality data classification encountered in actual engineering.

Keywords