This assignment has 4 parts:
- Linear Regression
- Sampling and Stochastic Gradient
- Logistic Regression
- Gaussian Discriminant Analysis
Code files for questions 1, 2, 3 and 4 are present in folders Q1, Q2, Q3 and Q4 respectively.
To run any file, say question1.py, use this command in the terminal:
python question1.py
The following python packages and versions were used to test:
- Python 3.8.10
- pandas==1.3.2
- numpy==1.21.2
- matplotlib==3.4.3
Additionally, to save animation file, ensure ffmpeg is installed.