Explain the differences between Random Forest and Gradient Boosting machines.
- Random Forest: An ensemble of decision trees where each tree is built independently. Reduces overfitting and provides feature importance.
- Gradient Boosting: Builds trees sequentially, correcting errors from previous trees. Typically achieves higher accuracy but can be prone to overfitting.