Real-Time Breath Tracking via AirPods

Articles

Those of you that have used meditation or breathing apps before might be familiar with this situation: You’re supposed to follow a simple breathing pattern. Inhale for four seconds, hold, exhale for four seconds. Sounds easy, but it can actually be pretty hard.

Soon after starting the exercise your mind starts drifting and you forget about that deep breath. But while you’re distracted, the exercise in your app keeps going until you’ve added another day to your mindfulness streak.

Continue reading “Real-Time Breath Tracking via AirPods”

Custom TensorFlow Lite model on Android using Firebase ML

Articles

Once your machine learning model is ready, you have to deploy it to a device. One of the ways that can be done is by shipping the model with the application. A challenge with this method is that whenever your model changes, you will need to ship a new APK to the app stores.

Obviously, this takes a long time because every app update needs to be verified by the app store. Now, imagine if it was possible to update the model over the air without the need to ship a new application. In this article, we will see how that can be done using Firebase Machine Learning.

Continue reading “Custom TensorFlow Lite model on Android using Firebase ML”

Training a Keras model to generate colors

Articles

Ever wonder how paint colors are named? “Princess ivory”, “Bull cream.” And what about “Keras red”? It turns out that people are making a living naming those colors.

In this post, I’m going to show you how to build a simple deep learning model to do something similar — give the model a color name as input, and have the model propose the name of the color.

This post is beginner friendly. I will introduce you to the basic concepts of processing text data with deep learning.

Continue reading “Training a Keras model to generate colors”

4 Techniques You Must Know for Natural Language Processing on iOS

Articles

iOS’s Natural Language framework allows us to analyze language and to perform language-specific tasks like script identification, tokenization, lemmatization, part-of-speech tagging, and named entity recognition.

In this introduction tutorial, we will discover this framework’s capabilities by looking at 4 common and essential techniques:

Continue reading “4 Techniques You Must Know for Natural Language Processing on iOS”

4 Ways Machine Learning Is Shaping the Future of Education

Articles

The education industry has embraced recent technological advancements with open arms with the inclusion of online modules, topic-based discussion forums, and the option of communicating with lecturers after hours.

While these developments have made the learning process more comprehensive and simplified for students, there’s still a lot of untapped potential in the industry.

Machine learning is blazing paths for new, more personalized learning experiences that have the potential to improve student engagement, create clearer communication channels between lecturers and students, and to develop less biased grading systems.

Continue reading “4 Ways Machine Learning Is Shaping the Future of Education”

Introduction to TensorFlow Computation Graphs: Simulating TensorFlow Execution in Swift

Articles

At the recent TensorFlow Dev Summit, Google announced upcoming support on the TensorFlow platform for Swift. Their goal is to make it easier to use machine learning libraries and help catch more mistakes before running ML code.

Swift for TensorFlow — and some new Swift extensions planned for the upcoming Swift 4.2 release — will let you execute arbitrary Python code including scientific packages like NumPy, making it simple to port existing TensorFlow Python code to Swift.

Continue reading “Introduction to TensorFlow Computation Graphs: Simulating TensorFlow Execution in Swift”