Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.87 KB

README.md

File metadata and controls

41 lines (27 loc) · 2.87 KB

Water-Pump-Project

Predicting the remaining useful life of a water pump based on readings from 50 sensors strategically placed to measure the pump's parameters

Data

The data contains readings from a set of 50 sensors monitoring a water pump and the corresponding remaining useful life of the water pump based on this readings, for each sample. The remaining useful life of the water pump is the target variable which will be predicted in this project. The original datset can be found here https://www.kaggle.com/anseldsouza/water-pump-sensor-data

Analysis

Exploratory data analysis was first carried out on the dataset by computing the summary statistics and visualizing all available parameters at specific time intervals. Next we visualize the monthly and daily trends in the dataset. Doing this on the remaining useful life of the water pump;

download

download

download

download

The following major observations were derived from the dataset;

  • The remaining useful life of the water pump steadily reduces after two months of continuous usage
  • Daily aggregate changes trends show that the remaining useful life of the water pump only reduces with each passing day
  • The remaining useful life of the water pump doesn't change much in the 4th month

Model Development

Eleven models were built on the dataset at first with the following results gotten;

download

download

download

Using the results of model visualizations, and exploratory data analysis, feature engineering was used to reduce the dimensionality of the data set and help build more robust models. Ofcourse better results were arrived at

download

Conclusion

The kneighbors regressor algorithm performed the best on the dataset with an R2 score of 99.9% on both training data and unseen data; Mean Absolute Error of 1.004, Root Mean Squared Error of 6.8 and a Maximum Error of 451.1

The model visualization also agrees with these results

download