| Aspect | Regression | Classification |
|---|---|---|
| Output | Continuous numeric value | Discrete class or category |
| Goal | Predict a specific numeric quantity | Assign data to predefined classes |
| Examples | House prices, stock prices, temperatures | spam detection, image recognition |
| Evaluation Metrics | Mean squared error (MSE), R-squared | Accuracy, F1 Score, precision, recall |
| Common Algorithm | Linear Regression, Decision Trees (Reg.) | logistic regression, decision trees (Class.) |

Definition: Lightweight Machine Learning models are computationally efficient, with low memory and power usage.
These models are particularly suitable for resource-constrained IoT environments due to: