Let's start with a basic question: what is machine learning, and why should we use it?
We can define ML as a branch of data science that can efficiently solve prediction problems. Let's assume that we have data on the customers of an e-commerce website over the last three months, and that data contains the purchase history of a particular product (c_id, p_id, age, gender, nationality, purchased[yes/no]).
Our objective is to use the dataset to identify a customer who would be likely to purchase the product, based on their purchase history. We might think that a good idea would be to take the purchase column into account and to assume that those who have purchased the product previously would be most likely to purchase it again. However, a better business solution would take all parameters into account, including the region from which the most purchases...