The mechanics of a simple neural network

Learn from your mistakes! This is my personal 'cheat sheet' on common concepts you'll encounter on your deep learning journey! My goal was to create a 2-page at-a-glance document that could serve as a reminder on how each component of a neural network works and how each fits into the bigger picture. It isn't designed... Continue Reading →

Visualizing data overlaps

An example use case is this: you have a list of customers who have bought the various products that you sell. You want to know where the overlaps are, for example: How many customers who bought the Blue Widget also bought the Green Widget? Or what percentage of customers who bought the Blue Widget also... Continue Reading →

Calculus rules to live by

Calculus is a big topic, but by and large, there are quite specific aspects of calculus that come into machine learning and in particular deep learning algorithms. This article is not intended to explain how and why things are as they are; rather it's my own personal cheat sheet for when I need to remember... Continue Reading →

Data structures for deep learning

I recently completed the Udacity Deep Learning Nanodegree (highly worth doing by the way), which focuses on implementing a variety of deep learning architectures using PyTorch. At the outset, it's pretty fundamental to understand the data structures you'll be encountering as inputs to and outputs from your neural network architecture. What I noticed was that... Continue Reading →

How to – KMeans clustering

Clustering is a type of unsupervised learning. Us humans would think of it as 'categorization' perhaps. For example, if I gave you a bag of red, blue and white balls and asked you to sort them (without telling you how) you would probably naturally gravitate towards sorting them by colour as this would be the... Continue Reading →

If you buy one book in 2020…

...make it Grokking Deep Learning by Andrew Trask! This gem of a book breaks deep learning down to its smallest component parts and then builds up your understanding from there. It's the equivalent of stripping your car down to nuts and bolts and then re-building it: at the end, you will know to a certainty... Continue Reading →

Avoiding for loops in Pandas

There will be times when you are tempted to loop through rows or columns in Pandas to achieve your results - and the lesson I keep learning is Don't do it! Every time I'm tempted to write a for loop with Pandas data I find myself clock watching and cursing... 9 times out of 10 there... Continue Reading →

Create a website or blog at WordPress.com

Up ↑