The Deep Dojo Machine Learning Blog

A Mac lover's guide to the robot apocalypse.

Jun 27, 2018

Apple Introduces Create ML

Training a machine learning model on a Mac hasn’t been easy. There are open source frameworks that run on a Mac CPU. But trying to accelerate training with a GPU meant using Nvidia hardware most likely on a Linux box.

With Create ML, Apple isn’t aiming for parity with these data science packages. Create ML takes the tangle of algorithmic detail that comes with machine learning and encapsulates it away. The result is an astonishingly simple training environment that is hardware-accelerated for the Mac.

Continue reading →

Machine Learning Reproducibility Crisis

Pete Warden discusses code, data and software process. When mixed with machine learning, it can be tricky to iterate on results.

“I’m no shrinking violet when it comes to version control. I’ve toughed my way through some terrible systems, and I can still monkey together a solution using rsync and chicken wire if I have to. Even with all that behind me, I can say with my hand on my heart, that machine learning is by far the worst environment I’ve ever found for collaborating and keeping track of changes.”

Creator of Swift Working on TensorFlow

Chris Lattner joined Google back in August.

Machine Learning Glossary

A list of over 150 machine learning terms, sorted alphabetically.


A small, randomly selected subset of the entire batch of examples run together in a single iteration of training or inference. The batch size of a mini-batch is usually between 10 and 1,000. It is much more efficient to calculate the loss on a mini-batch than on the full training data.

Climbing Out of Uncanny Valley

People, it seems, have an emotional reaction to things that look almost but not quite human. There are theories as to why but regardless of the reasons, it’s been a challenging barrier to using photo-realistic computer-generated humans. Something the entertainment industry has been chipping away at for a while.

The makers of Mug Life have released an iOS app that can look at a 2D image of a face and then animate it in three dimensions. The results are eye-opening.

“This innovative technology featuring deep neural networks marries decades of video game expertise with the latest advances in computer vision.”

Technical advancements in this area are accelerating.

Oct 23, 2017


MLModel sits at the heart of Core ML. It's an abstraction that's focused on input and output features. MLModelDescription indicates how these features are structured.

Continue reading →

Core ML Store

A list of free Core ML models with associated sample code and reference. Curated by Kedan Li.

“Download and use per license. Remember to acknowledge.”

The site currently has eight image filters and roughly twenty classifiers.

NVIDIA Drivers for macOS High Sierra

CUDA is an NVIDIA hardware toolkit. Many deep learning frameworks use it to accelerate training. Apple last offered an NVIDIA GPU in its MacBook Pro in 2014. A GeForce GT 750M, which provided a CUDA compute capability of 3.0.

At WWDC, Apple announced official support for external GPU enclosures in macOS High Sierra. This week NVIDIA followed suit.

“After skipping the assorted High Sierra betas, NVIDIA has rolled out drivers for its line of PCI-E graphics cards.”

This gives any Mac with Thunderbolt 3 connectivity the ability to power up CUDA 9.0 with a compute capability of 6.1. Courses

Coursera launched in 2011. As a co-founder, Andrew Ng offered a course on machine learning that quickly became popular. Six years later, Proffessor Ng is offering a new series of courses in deep learning.

In his post, Arvind Nagaraj offers some observations.

“In classic Ng style, the course is delivered through a carefully chosen curriculum, neatly timed videos and precisely positioned information nuggets. Andrew picks up from where his classic ML course left off.”

He also offers some encouragement.

“Everyone starts in this field as a beginner. If you are a complete newcomer to the deep learning field, it’s natural to feel intimidated by all the jargon and concepts. Please don’t give up.”

Sep 16, 2017

Apple Introduces Face ID

Apple isn’t just a hardware company. It’s not just a software company either. It’s both. I’ve always admired how clever the company is at leveraging that distinction.

The latest iPhone will unlock itself merely by looking at your face.

Continue reading →