Welcome to the "Cat vs Dog Image Classification, making prediction" project! This project focuses on building a powerful image classification model to distinguish between cats and dogs using a Convolutional Neural Network (CNN).
- Reference: Building Powerful Image Classification Models using Very Little Data
- Dataset: Cat vs Dog Image Classification Dataset
- Model Accuracy: 89%
The project is structured as follows:
- Data Preprocessing: Utilized the Keras
ImageDataGenerator
for augmenting and preprocessing the training and test sets. - CNN Architecture: Implemented a Convolutional Neural Network with multiple layers for feature extraction and classification.
- Training and Evaluation: Compiled and trained the CNN using the training set and evaluated on the test set.
- Single Prediction: Demonstrated making a single prediction using a test image.
- Data Preprocessing: Create training and test sets using
ImageDataGenerator
. - CNN Architecture: Build a CNN with convolutional, pooling, flattening, and fully connected layers.
- Training: Compile and train the model using the training set.
- Evaluation: Evaluate the model on the test set to measure accuracy.
- Prediction: Make a single prediction using a sample image.
The model achieved an Training Set:
Accuracy: 89.92%, Loss: 0.2320, Validation Set (Test Set): Accuracy: 80.70%, Loss: 0.5082, showcasing its effectiveness in classifying cats and dogs.
Explore the complete code on Kaggle: Cat vs Dog Image Classification Kaggle Notebook