Extractive Text Summarization Using Neural Networks

Articles

Text summarization is a well-known task in natural language processing. In general, summarization refers to presenting data in a concise form, focusing on parts that convey facts and information, while preserving the meaning. To understand this better, we can think of summarization as a process to find a subset of data that contains all the information.

Continue reading Extractive Text Summarization Using Neural Networks

Build an iOS Application to Predict Air Pollution Using a Random Forest Regressor

Articles

Living in a “big” city like Casablanca, you tend to forget how the air is polluted — and somehow get used to it.

But don’t get fooled—in addition to emissions from vehicles, the air breathed by citizens in most big cities is contaminated by significant atmospheric emissions from factories and other sources of pollution.

Continue reading “Build an iOS Application to Predict Air Pollution Using a Random Forest Regressor”

Machine Learning on iOS 12 and the New iPhone X Series

Articles

On-device machine learning is gaining more and more traction among developers around the world. It’s now considered the best way to bring machine-learning powered tools and applications to the masses. The reason behind this is the ever-increasing on-device computational power that can be harnessed by developers, as well as the increased data privacy that on-device machine learning offers.

Continue reading Machine Learning on iOS 12 and the New iPhone X Series

Model Interpretability and Visualization: Looking Inside the Neural Network Black Box

Articles

There has been tremendous development and progress over the past few years in how some technologies have impacted and blended into our human lives.

Deep learning has been at the forefront of such technologies and has found applications in many industries — retail, health, automobiles, finance, and transportation to name a few.

Continue reading “Model Interpretability and Visualization: Looking Inside the Neural Network Black Box”

Neural Network Pruning Research Review 2020

Articles

Neural Network (NN) Pruning is a task of reducing the size of a Neural Network by removing some of its parameters/weights.

Pruning is often performed with the objective of reducing the memory, computational, and energy bandwidths required for training and deploying NN models which are notorious for their large model size, computational expense, and energy consumption.

Continue reading Neural Network Pruning Research Review 2020

Exploring Sign Language Recognition techniques with Machine Learning

Articles

In this post, we’re going to investigate the field of sign language recognition and its applications in the real world.

We are going to discuss the approaches adopted by a research paper on Indian Sign Language Recognition and try to understand the merits and demerits of these methods from a practical point of view.

Continue reading “Exploring Sign Language Recognition techniques with Machine Learning”

Feature Ranking with Recursive Feature Elimination in Scikit-Learn

Articles

Feature selection is an important task for any machine learning application. This is especially crucial when the data in question has many features. The optimal number of features also leads to improved model accuracy. Obtaining the most important features and the number of optimal features can be obtained via feature importance or feature ranking. In this piece, we’ll explore feature ranking.

Continue reading Feature Ranking with Recursive Feature Elimination in Scikit-Learn

Intro to machine learning on iOS: Using Core ML to recognize handwritten digits

Articles

After working on a couple of projects using handwritten text recognition, I’m in total awe of this technology: Send an image to a REST endpoint, wait for the machine learning magic to happen, and then receive a bunch of JSON data with your recognized text as the response /output—wow!

But I already “awed” a lot about this in a blog post a while back. For anyone who’s interested in it and doesn’t know how to get started — check this out:

Continue reading Intro to machine learning on iOS: Using Core ML to recognize handwritten digits

Gaussian NB In Android, Not Python!

Articles

Whether you are a beginner or a seasoned ML developer, you’ve probably heard about (and most likely implemented) the Naive Bayes classifier. These classifiers are very helpful when you have smaller datasets and lesser computational power.

You might be aware of the world-famous scikit-learn implementation commonly used in Python:

We’ll get our hands dirty with Gaussian Naïve Bayes, its math, and the Android implementation. We’ll use our algorithm on the Iris dataset.

Continue reading Gaussian NB In Android, Not Python!

Implementing activity and element transition animations in Android

Articles

Animations, if done correctly are always a delight to see. Especially when it comes to mobile apps—adding subtle animations here and there can help make your app stand out of the crowd and give it a more polished feel.

Google also gave animations the central stage when it unveiled its newest design language—Material Design—back in 2014!

Continue reading Implementing activity and element transition animations in Android