Writing Native Java Code in Flutter for Android

Articles

Flutter has a rich pool of packages and widgets. You can achieve most things by either using the rich widget pool that Flutter offers or by using a package.

However, sometimes you might find yourself in situations that demand you write native Java code*.

In this fourth installment of our Flutter series, we’ll look at how you can write Java code that communicates with your Flutter application.

Continue reading Writing Native Java Code in Flutter for Android

Understanding Tree-Based Machine Learning Methods

Articles

Tree-based machine learning methods are among the most commonly used supervised learning methods. They are constructed by two entities; branches and nodes. Tree-based ML methods are built by recursively splitting a training sample, using different features from a dataset at each node that splits the data most effectively. The splitting is based on learning simple decision rules inferred from the training data.

Continue reading Understanding Tree-Based Machine Learning Methods

Text Classification Using Long Short Term Memory & GloVe Embeddings

Articles

Preparing textual data for machine learning is a little different than the preparation of tabular data. What makes text data different is the fact that it’s majorly in string form.

Therefore, we have to find the best way to represent it in numerical form. In this piece, we’ll see how we can prepare textual data using TensorFlow. Eventually, we’ll build a bidirectional long short term memory model to classify text data.

Continue reading “Text Classification Using Long Short Term Memory & GloVe Embeddings”

Video Summarization Using Subtitles: A Simplified Approach

Articles

I’ve recently been working a lot with video data—in fact, I’d already shared some learnings on a few deep learning-based video summarization techniques, in a recent article published on Heartbeat.

While I searched a lot for research papers that dealt with video summarization, I came across a paper that dealt with creating these summaries in the simplest way possible—by using the subtitles of a given video. You can check out the paper here.

Continue reading Video Summarization Using Subtitles: A Simplified Approach

Why I thought machine learning was boring

Articles

I’d been interested in the idea of learning machine learning for quite a while. This interest in the field started after I discovered ML as being a subfield of AI from an online forum. My understanding of AI before this was limited to what I watched in sci-fi movies, where AI is portrayed as an artificial human that could outperform real humans in intelligence, which I didn’t find interesting.

Continue reading Why I thought machine learning was boring

What’s New in the Vision Framework in iOS 14

Articles

There were quite a few interesting announcements during WWDC 2020. Without a doubt, enhancements in SwiftUI 2.0 and Apple’s bold decision to move away from Intel for Mac in favor of in-house Silicon chips became the major talking points.

But that didn’t stop Apple from showcasing its computer vision ambitions once again this year. The Vision framework has been enhanced with some exciting new updates for iOS 14.

Continue reading What’s New in the Vision Framework in iOS 14

Using Google Cloud AutoML Edge Image Classification Models in Python

Articles

If you’ve read my earlier blogs centered on AutoML and machine learning on edge devices, you know how easy it is to train and test a custom ML model with little to no prerequisite knowledge.

However, just training an ML model isn’t enough. You also need to know how to use them to make predictions. Maybe you need to build a cross-platform app using tools like QT, or maybe you want to host your model on a server to serve requests via an API. This third blog in the series on training and running Tensorflow models in a Python environment covers just that!

Continue reading Using Google Cloud AutoML Edge Image Classification Models in Python

Understand the Fundamentals of the K-Nearest Neighbors (KNN) Algorithm

Articles

K-Nearest Neighbors (KNN) is a supervised learning algorithm used for both regression and classification. Its operation can be compared to the following analogy:

To make a prediction, the KNN algorithm doesn’t calculate a predictive model from a training dataset like in logistic or linear regression. Indeed, KNN doesn’t need to build a predictive model. Thus, for KNN, there is no actual learning phase. That’s why it’s usually categorized as a lazy learning method.

Continue reading Understand the Fundamentals of the K-Nearest Neighbors (KNN) Algorithm

Tips and Tricks for Data Analysis with Pandas

Articles

Pandas is an open-source Python library built on top of NumPy. Pandas is probably the most popular library for data analysis in Python. It allows you to do fast analysis as well as data cleaning and preparation. One amazing aspect of Pandas is the fact that it can work well with data from a wide variety of sources such as: Excel sheets, CSV files, SQL files, or even a webpage.

Continue reading Tips and Tricks for Data Analysis with Pandas