Bedform-Inference-Using-CNNs based on Free Surface Images (Interactive Code & visuals)
CNNs for Underwater bedform inference
-
Introduction: In this notebook, I capture the details for my multi-class classifcation project based on a Convolutional Neural Network. This analysis is for a project listed on my website. I strongly recommend a quick reading of the introduction there to get an overview of what's to follow. If you are interested in more details, you can see a copy of my publication which is under print.
-
Happy to provide Data access: The data for the following work was acquried by me in Stanford's Bob and Norma Street Environmental Fluid Mechanics Lab as part of a proof-of-concept study. I am all for open science, so please contact me if you would like to access the full data and we can work something out. It's not being publicly circulated yet becasue I haven't hashed out the format for circulation.
-
Background knowledge for CNN: Going forward I will also be assuming that the reader is familiar with basic NN theory and the convolutional framework. If not, don't worry and refresh your understanding here . There are exercises there which were helpful to me.
- Introduction to muticlass classification framework and data
- Data organization
- Visualize the image data
- Building a Small Convnet from Scratch
- Compiling the model
- Training the net
- Saving the model for future usage
- Plotting the model Loss and Accuracy
- Test Set Predictions, Confusion Matrix, Errors in Predictions
- Predict on the test set
- Save test set accuracy
- Function for making confusion matrix