Adding fast scroll to RecyclerView in Android

Articles

While working with a huge list of data, it’s often convenient to quickly go through the list by means of a scrollbar. As a matter of fact, while reading this article itself, you can see a scrollbar on the right side of the page, which you can use to quickly navigate to the end of the page.

This design pattern is quite common, and Android is no exception, as we can easily find numerous examples of scrollbars, especially when the content is being displayed in a list. Y

ou can see some examples of this below:

Continue reading “Adding fast scroll to RecyclerView in Android”

Implementing K-Nearest Neighbors in Your Machine Learning Model

Articles Machine Learning

Imagine we have a set of labeled and unlabeled data, and we want to build a classifier which takes the unlabeled data as input and labels that data as output.

With this kind of situation, we’ll need to build a classification model that will learn from already-labeled data (training data). Later we’ll use that model to predict our unlabeled data (test data).

This type of machine learning is called supervised learning, which we can define as feeding data into a machine learning algorithm.

In doing so, we’re actually showing that groups exist, and which data belong to which groups.

Continue reading “Implementing K-Nearest Neighbors in Your Machine Learning Model”

Sensors in Android – Everything You Need to Know

Android Articles

Have you ever played mobile games like Subway Surfers or Temple Run and wondered how the position of the runner changes?

Have you ever counted the number of steps/distance you’ve walked in a day? Have you ever used a compass in your phone and wondered how it works?

Or ever thought about while talking to a person through your phone, how the phone’s screen goes black when you bring it close to your ear?

Continue reading “Sensors in Android – Everything You Need to Know”

Creating a side-scroller mobile game with Unreal Engine 4: Adding Menus and Sound

Articles

In the final part of our series (we’ve arrived!) we’ll add some polish to our game. To do this, we’ll refine our level by adding a menu system (main and pause menus), which is a necessary part of any game. We will also add background sound to our game.

Before proceeding forward, a quick recap. We started by learning Unreal basics—how to navigate and create a HUD (heads up display).

We also created some enemy AI and winning and losing mechanisms. We even tested the game on an Android device. These are core components of any mobile side-scroller game. In this final part we’ll polish our game so that it can be presentable.

Continue reading “Creating a side-scroller mobile game with Unreal Engine 4: Adding Menus and Sound”

6 Best Alternatives to Amazon SageMaker (Reviewed for 2024)

Articles

With this article we aimed to create a guide for data scientists and machine learning enthusiasts who are looking for alternatives to Amazon SageMaker.

We explore the top alternatives available in the market, and provide insights into their features, benefits, and limitations. The article aims to equip readers with the knowledge and practical guidance they need to make informed decisions when choosing a machine learning platform.

We’ll also discuss the criteria you should consider when choosing a machine learning platform, including cost, ease of use, features, scalability, and integration with other tools.

Continue reading “6 Best Alternatives to Amazon SageMaker (Reviewed for 2024)”

The 5 Deep Learning Frameworks Every Serious Machine Learner Should Be Familiar With

Articles

Deep Learning requires a lot of computations. It typically involves neural network(s) with many nodes, and every node has many connections — which must be updated constantly during the learning. In other words, at each layer of the network, hundreds and thousands of identical artificial neurons perform the same computation.

Therefore, the structure of a neural network fits very well with the kinds of computation that a GPU (Graphic Processing Unit) can efficiently perform — which are designed to compute, in parallel, the same instructions.

Continue reading “The 5 Deep Learning Frameworks Every Serious Machine Learner Should Be Familiar With”

Image Segmentation for Android — Smart Background Replacement with Fritz AI

Articles

Back when I first started using Photoshop, I’d waste hours between classes cropping out pictures of my friends and pasting their faces onto celebrities and teachers. My go-to method was using the Magic Wand tool to select a person, and then creating a crude mask to cut and paste onto another background. This had varying degrees of success and usually resulted in having to manually outline and erase unwanted pixels from my selection.

Continue reading Image Segmentation for Android — Smart Background Replacement with Fritz AI

How Apple Silicon Changes Mac Forever

Articles

At the end of the WWDC20 Keynote, Apple announced that it’s switching from Intel processors to its own: Apple Silicon. The release of custom Apple chips, powered by ARM, comes after a long history of using Intel-based chips, for the greater part of the 21st century.

Modeled after Apple’s use of its own chips on the iPhone, iPad, and Apple Watch, the company is switching to its own chips to give the Mac more performance per watt and better GPU performance.

Continue reading How Apple Silicon Changes Mac Forever