In the 21st century monitoring water quality is rising challenges because of the large number of elements are used in everyday lives. Monitoring water provides the necessary evidence to make sound decisions on managing water quality. This research paper deals with the assessment of water quality of Krishna River with the help of data model based on the predefined major principal water quality parameters. Electrical Conductivity and Total Dissolved Solids are considered as important parameters in determining the quality of drinking water because it shows the direct salt concentration in the water. In this research, estimation of these two parameters is studied using the K-Nearest neighbour algorithm and also used for the water quality estimation.