Skip to main content

Posts

Showing posts from January, 2018

Deep Learning - Convolutional Neural Networks (CNN's) using TensorFlow

In this next section of the machine learning course I'm taking, I'll be introduced to Convolutional Neural Networks (CNNs -- not to be mistaken for the news company). I'm especially interested in this topic because CNNs are the primary tool used in image-based learning. From self-driving cars making sense of their surroundings, to better predicting if a tumor is cancerous, the possibilities in this field are endless! In this post, I'll document my theoretical learnings from the lectures I watch, then note things from the code-along example CNN in which I build a model to estimate handwritten numbers using the well-known MNIST data set. Last, I'll present my inquiries and results from a CNN project that attempts recognize a variety of objects in the CIFAR dataset. My summary of CNNs can be found here . My code for this section of the course can be found here . Here are the notes I took during the lectures and code-alongs: Convolutional Neural Networks ...

Deep Learning - TensorFlow Basics

The next section of my course will cover the basics of TensorFlow, Google's open-source machine learning library for Python. It is quite common, and is the successor to the Theano framework. It is one of the most popular machine learning frameworks. Essentially, TensorFlow (TF) provides built-in methods to easily perform common machine learning tasks. It also sets up all of the classes and functions that I learned to manually (without TF) create in the previous section (see blog post). Here is all of the code I wrote while following this section. I encourage the reader to use this code as reference while reading through this post, as it contains crucial information to understanding many of the topics I refer to below (particularly in the Issues/Observations section). The Classification and Regression exercises were basically "homework", while the other files were code-alongs from the class. There are many comments explaining what the code does, as well as some notes...