To use the script, you will need to install Python 3.6.x and add to path:
After cloning the project, go to the root directory:
Install the dependent libraries by typing the following in cmd/terminal:
$ pip install -r requirements.txt
To run the script, go to the root directory and run python
in cmd/terminal and type the following in the python console:
>>> from glm_main import *
Note: ensure that python refers to Python 3.6.x
To run the GLM on regression dataset [mauna_loa], type the following in the python console:
>>> run_Q2()
To run the kernelized GLM on regression dataset [mauna_loa], type the following in the python console:
>>> run_Q3()
Type the following in the python console:
>>> run_Q4()
Type the following in the python console:
>>> run_Q5()
- numpy - all variables are numpy arrays