Univariate and multivariate linear regression model using OLS and gradient descent optimizer
This code checks a predefined directory and automatically decides whether to create a univariate regression model or a multi variate regression model.
This project is divided in 3 files:
Model.py
- checks predefined directory (set on main), performs data pre-processingRegression.py
- Analyses the data and decides which sub type of regression should callmain.py
- Main file
To run the project:
python main.py
Packages used:
- Numpy
- Pandas
- os
- ntpath
- matplotlib
- unittest
python TestMethods.py
-
Python 3
-
PyCharm 2017.03
- Folder watching - Using the "watchdog" package, check periodically for new files in the data directory
- Extend to other models (classification, etc)
- Extend to other linear regression models
- Vasco Fernandes
This project is licensed under the MIT License - see the LICENSE.md file for details