1. Goal of Linear Regression Linear regression predicts a numerical value using the equation \(y = mx + b\).
-
m: Slope, showing how much \(y\) changes when \(x\) increases.
-
b: Intercept, the value of \(y\) when \(x = 0\).
2. Regression vs. Classification Regression predicts continuous numerical values, while classification predicts categories or labels.
3. How a Decision Tree Makes a Prediction A decision tree follows a series of questions or conditions based on input data until it reaches a final prediction.
4. Business Problem Using Classification A business can use classification to identify whether a customer is likely to purchase a product or not, helping the company improve its marketing strategy.
