5 TensorFlow techniques to eliminate overfitting in DNNs

Articles

Deep neural networks (DNNs) can have tens of thousands of parameters, and in some cases, maybe even millions. This huge number of parameters gives the network a huge amount of freedom and the flexibility to fit a high degree of complexity.

This flexibility is only good up to a certain level. When this level is crossed, the term overfitting is brought to the table.

Continue reading 5 TensorFlow techniques to eliminate overfitting in DNNs

Why data scientists should start learning Swift

Articles

One week into my first year physics course at the University of Michigan, a professor assigned a problem set that required simulating some many-body system. It was due Friday. That was the week I learned my first programming language, Matlab.

This is how I’ve picked up bits and pieces of a dozen or so languages over the past decade. Besides an introductory CS class taught with C++ and a Java-based database class in graduate school, I never had any formal training in software engineering. For me, coding was a way to finish my homework, analyze data to answer a question, or turn an idea in my head into something real.

Continue reading Why data scientists should start learning Swift

How to use the Geolocation API in a React Native app

Articles

Geolocation as an API has different methods that can be used in a web application. But it’s also a powerful API for mobile development. Ride share mobile apps like Uber, map app like Google Maps, and location features implemented in apps like Instagram depend on using this API. React Native takes advantage of this API and its available methods by extending the Geolocation Web specification.

Continue reading How to use the Geolocation API in a React Native app

PyTorch Mobile: Exploring Facebook’s new mobile machine learning solution

Articles

PyTorch, Facebook’s core machine and deep learning framework, has been steadily gaining momentum and popurity in recent months, especially in the ML/DL research community.

But until recently (last week, in fact), there was a substantial piece of the puzzle missing—an end-to-end solution for deploying PyTorch models to mobile.

Continue reading PyTorch Mobile: Exploring Facebook’s new mobile machine learning solution

Does my Core ML model run on Apple’s Neural Engine?

Articles

At last year’s iPhone event, Apple announced that, starting with iOS 12 and the new A12 Bionic processor, Core ML models could now take advantage of the Apple Neural Engine (ANE). The ANE is a special co-processor capable of accelerating machine learning models to run up to 9X faster using just a tenth of the energy. While we’ve been able to verify these speedups in certain cases, we noticed they weren’t universal. Some models didn’t seem to be benefitting from the new hardware.

Continue reading Does my Core ML model run on Apple’s Neural Engine?