Template Credit: Adapted from a template made available by Dr. Jason Brownlee of Machine Learning Mastery.
SUMMARY: This project aims to construct a predictive model using a TensorFlow convolutional neural network (CNN) and document the end-to-end steps using a template. The Casting Quality Inspection dataset is a binary classification situation where we attempt to predict one of the two possible outcomes.
INTRODUCTION: This dataset is about the casting process during the manufacturing of a product. A casting defect is an undesired irregularity in a metal casting process, and the significant problem is that most organizations carry out the inspection process manually. It is a very time-consuming process and prone to human errors. These photos are a top view of the submersible pump impeller, and the dataset contains 7348 image files. All images are the size of 300×300 pixels grey-scaled images with image augmentation.
In this Take1 iteration, we will train a few three-layer CNN models and evaluate them using the 715 300×300 pixels test images.
ANALYSIS: In this Take1 iteration, the baseline model’s performance achieved an accuracy score of 99.72% after 15 epochs using the training dataset. After tuning the hyperparameters, the best model processed the validation/test dataset with an accuracy score of 99.86%.
CONCLUSION: In this iteration, the TensorFlow CNN model appeared to be suitable for modeling this dataset. We should consider experimenting with TensorFlow for further modeling.
Dataset Used: Casting Quality Inspection Dataset
Dataset ML Model: Binary image classification with numerical attributes
Dataset Reference: https://www.kaggle.com/ravirajsinh45/real-life-industrial-dataset-of-casting-product
One potential source of performance benchmarks: https://www.kaggle.com/ravirajsinh45/real-life-industrial-dataset-of-casting-product/notebooks
The HTML formatted report can be found here on GitHub.