Skip to content

Shukla-Gaurav/LinearRegression_and_GDA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published