Articles Fritz has written:

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

The 2 Types of Hardware Architectures for Efficient Training and Inference of Deep Neural Networks

Articles

Due to the popularity of deep neural networks, many recent hardware platforms have special features that target deep neural network processing. The Intel Knights Mill CPU will feature special vector instructions for deep learning. The Nvidia PASCAL GP100 GPU features 16-b floating-point (FP16) arithmetic support to perform two FP16 operations on a single-precision core for faster deep learning computation.

Continue reading The 2 Types of Hardware Architectures for Efficient Training and Inference of Deep Neural Networks

Building a mixed-data neural network in Keras to predict accident locations

Articles

When used in the right situation, neural networks can be an awesome solution to your learning problem. Neural networks allow you to feed in structured data (numerical and categorical data), wait for some magic to happen (note: not actual magic — it’s just maths), and out pops your answer — for example, maybe you’re trying to predict the result of an election from data from news sources. Convolutional neural networks allow you to do something similar but for images — for example, maybe you’re trying to predict whether an image is a hotdog or a not-hotdog.

Continue reading Building a mixed-data neural network in Keras to predict accident locations

Creating Instagram and Facebook AR filters with Spark AR Studio — A beginner’s guide (Part 1)

Articles

Instagram is one of the leading social media platforms in the world with over a billion monthly users. It’s great for sharing pictures, connecting with friends and family, getting updates about our favorite celebrities, and posting stories using AR camera filters.

Continue reading Creating Instagram and Facebook AR filters with Spark AR Studio — A beginner’s guide (Part 1)

Creating a side-scroller mobile game with Unreal Engine 4 (Part 5): Creating a Boss Enemy

Articles

Welcome back to part 5 of our series exploring how to build a side-scroller mobile game with Unreal Engine 4. If you haven’t yet read part 4, I’d recommend reading it here:

In the last part, we integrated our winning and losing mechanisms. Here, we’ll work on creating a boss enemy to make our game a bit more challenging.

Continue reading Creating a side-scroller mobile game with Unreal Engine 4 (Part 5): Creating a Boss Enemy

Detecting objects in videos and camera feeds using Keras, OpenCV, and ImageAI

Articles

Object detection is a branch of computer vision, in which visually observable objects that are in images of videos can be detected, localized, and recognized by computers.

An image is a single frame that captures a single-static instance of a naturally occurring event . On the other hand, a video contains many instances of static images displayed in one second, inducing the effect of viewing a naturally occurring event.

Continue reading “Detecting objects in videos and camera feeds using Keras, OpenCV, and ImageAI”