-
Book Overview & Buying
-
Table Of Contents
Time Series Analysis with Python Cookbook - Second Edition
By :
In supervised ML, the data you use for training contains known outcomes from the past, called the dependent variables or targets. These are the variables you want your ML model to predict. The ML algorithm learns patterns from this data using the other variables, known as independent variables or predictors. These predictors help the model estimate the target.
For example, in the house pricing prediction problem, the target variable would be the price of the house. The predictors may include features such as the number of bedrooms and bathrooms, the total square footage, and the house’s location. The ML model learns from this data to make predictions for house prices based on new and unseen data.
On the other hand, in unsupervised ML, there are no target variables or outcomes to train on. Unsupervised algorithms are good at finding patterns or structures in the data. Common examples include clustering (e.g., customer segmentation) or anomaly...