-------------------------------------Running run.sh--------------------------------------------------------
Question 1 (Linear Regression)
./run.sh 1 <path_of_file_containing_x> <path_of_file_containing_y> <time_gap_in_seconds>
This should run the batch gradient descent with the provided learning rate, print the answer to part (a) and generate different plots corresponding to other parts.
Question 2 (Locally Weighted Linear Regression)
./run.sh 2 <path_of_file_containing_x> <path_of_file_containing_y>
Question 3 (Logistic Regression)
./run.sh 3 <path_of_file_containing_x> <path_of_file_containing_y>
Question 4 (GDA)
- For part a,b,c (linear separator)
./run.sh 4 <path_of_file_containing_x> <path_of_file_containing_y> 0
- For part d,e,f ( quadratic separator)
./run.sh 4 <path_of_file_containing_x> <path_of_file_containing_y> 1