This project demonstrates a linear regression model trained using gradient descent. The app shows both static training on a complete dataset and a real-time simulation where the model is updated incrementally as new data arrives.
- Realistic Data Simulation: Advertising budget vs. sales.
- Custom Gradient Descent: Includes normalization, optional momentum, and incremental (online) training.
- Interactive Visualization: View the regression line, cost evolution, and model parameter updates in real time.
- Educational Content: Learn how linear regression is applied in real-world scenarios.
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt