Supervised and unsupervised machine learning
Machine learning at a broad level is categorized into two types: supervised and unsupervised learning. As the name indicates, this categorization is based on the availability of the historical data or the lack thereof. In simple terms, a supervised machine learning algorithm depends on the trending data, or version of truth. This version of truth is used for generalizing the model to make predictions on the new data points.
Let's understand this concept with the following example:
Figure 3.1 Simple training data: input (independent) and target (dependent) variables
Consider that the value of the y variable is dependent on the value ofx. Based on a change in the value ofx, there is a proportionate change in the value ofy(think about any examples where the increase or decrease in the value of one factor proportionally changes the other).
Based on the data presented in the preceding table, it is clear that the value of y increases with an increase in...