Multi-Swarm Optimization Algorithm in Java 1. Introduction In this article, we’ll take a look at a Multi-swarm optimization algorithm. Like other algorithms of the same class, its purpose is to find the best solution to a problem by maximizing or minimizing a specific function, called a fitness function. Let’s start… Continue Reading java-multi-swarm-algorithm

Converting Between Roman and Arabic Numerals in Java 1. Introduction The ancient Romans developed their own numeric system called Roman numerals. The system uses letters with different values to represent numbers. Roman numerals are still used today in some minor applications. In this tutorial, we’ll implement simple converters that will… Continue Reading java-convert-roman-arabic

Locality-Sensitive Hashing in Java Using Java-LSH Algorithms Java 1. Overview The Locality-Sensitive Hashing (LSH) algorithm hashes input items so that similar items have a high probability of being mapped to the same buckets. In this quick article, we will use the java-lsh library to demonstrate a simple use case of… Continue Reading locality-sensitive-hashing

A Collaborative Filtering Recommendation System in Java Algorithms 1. Introduction In this tutorial, we’ll learn all about the Slope One algorithm in Java. We’ll also show the example implementation for the problem of Collaborative Filtering (CF) – a machine learning technique used by recommendation systems. This can be used, for… Continue Reading java-collaborative-filtering-recommendations

A Guide to the Folding Technique in Java 1. Introduction In this tutorial, we consider hashing techniques used in various data structures that provide constant time access to their elements. We discuss in more detail the so-called folding technique and give a short introduction to mid-square and binning techniques. 2.… Continue Reading folding-hashing-technique