Data-Free Speech Translator using SFSpeechRecognizer and ML Kit on iOS

Articles

We’ve seen this feature in countless smartphone ads. The quick scene has someone traveling to a foreign country, having a local say something into their smartphone, and then smile as it provides the translation for them. Usually it takes up just seconds of the ad before they move onto a new camera feature or something.

What they don’t show is the aftermath as that smile turns into panic. For soon after, the user realizes they’re nowhere near their hotel’s free WiFi. They begin to calculate how much their international data charge will be by the time they finally translate the local’s instructions to the best food in town. Who knows if they’ll be able to afford it by then?

Continue reading Data-Free Speech Translator using SFSpeechRecognizer and ML Kit on iOS

Connect Android Devices with a Wear OS Emulator

Articles

Nowadays, people check their watches for important notifications as much as they do the time. Wearable devices, like Android-based watches, are gaining more momentum as Google continues to improve its Android Wear platform for developers.

A couple of months ago, I was working on a simple application called Location-based tasks using Geofence. If you don’t know what Geofencing is, check out the link below:

Continue reading Connect Android Devices with a Wear OS Emulator

Google I/O 2019: News and Announcements for Android Developers

Articles

I attended my first I/O this year, and it was a really good experience. While there, I Tweeted about some of the announcements in real-time. You can check them out on my twitter page.

But I wanted to dig a bit deeper and give more detail about news related to Android development that came out of I/O. There are other developments and Android-related announcements, but here I’ll only mention one connected specifically to Android development.

Continue reading Google I/O 2019: News and Announcements for Android Developers

Federated Learning Demo in Python (Part 4): Working with Mobile Devices

Articles

Through the first 3 parts of our federated learning (FL) demo project, we’ve set up a system wherein machine learning (ML) models is trained using FL. Put simply, a generic model is created at the server. The model is then sent to the clients for training, and then sent back to the server.

Check out the previous 3 parts in the project to get caught up:

Continue reading Federated Learning Demo in Python (Part 4): Working with Mobile Devices

Colorizing B/W Images With GANs in TensorFlow

Articles

GANs are one of the most interesting topics in machine learning today. They have been used in a number of problems (and not just to generate MNIST digits!) and performed very well in each case. A GAN (General Adversarial Network) consists of a generator and a discriminator, which compete against each other to produce mind-blowing results. Here, we’ll take a mathematical approach towards understanding the GAN and its loss functions. As the idea behind training a GAN comes from game theory, we’ll have a quick look at the Minimax Optimization Strategy too.

Continue reading Colorizing B/W Images With GANs in TensorFlow

Classification with TensorFlow and Dense Neural Networks

Articles

In my previous article that examined classification with TensorFlow, I covered the basics details of how to perform linear classification with TensorFlow’s estimator API. You can read that blog post here:

For part two, I’m going to cover how we can tackle classification with a dense neural network. I’ll be using the same dataset and the same amount of input columns to train the model, but instead of using TensorFlow’s LinearClassifier, I’ll instead be using DNNClassifier. We’ll also compare the two methods.

Continue reading Classification with TensorFlow and Dense Neural Networks