Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 924 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 924 Bytes

LinearRegression_and_GDA

-------------------------------------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)

  1. For part a,b,c (linear separator)

./run.sh 4 <path_of_file_containing_x> <path_of_file_containing_y> 0

  1. For part d,e,f ( quadratic separator)

./run.sh 4 <path_of_file_containing_x> <path_of_file_containing_y> 1