Regression is one of the elementary subsets of supervised learning. Supervised learning is a type of machine learning which consists of teaching a machine using data or with the help of an example to predict future details.

In this tutorial we will learn to implement supervised learning using Kotlin on S2 IDE from scratch, starting with regression.