The dataset used on this classification model comes from a competition that aimed to develop an image classifier trained from images with dogs and cats. This dataset can be accessed clicking in the following link: Kaggle Cats and Dogs Dataset
The attributes on this dataset are the information contained on every single image as an array of pixels [Black:0 | White:255]. Every array has the following shape: [image_width, image_height, channel]. Originally, the images contain 3 channels, one channel for every color (RGB).
- class 1 : dog
- class 2 : cat
You can use pip
or conda
to install the dependencies:
- tensorflow
- matplotlib
- jupyter
- pandas
- pillow
- scikit-learn
- imageio
- OpenCV
If you want to try this program, download this repo and launch jupyter to run it on your machine.
-
ENVIRONMENT PREPARATION
Install library dependencies- Document installation and usage
-
DATA EXPLORATION
- Add dataset description
Preview the structure of the datasetAdd data visualizations
-
DATA PREPROCESSING
Apply standarization to feature dataApply one-hot encoding to categorical dataSplit data into training and testing sets- Output preprocessed data for faster preloading
-
DATA ANALYSIS
Define network parametersDefine network structureAdd different network configurationsDefine learning rate with different decaying methodsSet up cost, optimizer, and accuracy function with different configurations
Define model executionVisualize evolution of MSE on training and testing datasets through epoch iterationVisualize evolution of loss functionVisualize evolution of learning rate- Add log and summary writer
- Add Tensorboard visualization
- Add checkpoints for model restoration
-
MODEL DEPLOYMENT
- Load a pretrained model
- Test it with new data
-
OTHERS
- Update README files
- Update all nbviewer links
- Add Tensorflow 1.x, Tensorflow 2.x, keras, tf.keras, and scikit-learn data analysis notebooks