Skip to content

Latest commit

 

History

History

Linear Regression

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Implements Closed-Form and Gradient Descent for Global and Locally weighted Linear Regression

Organization

  • This folder contains code(+data), figures, and report in respective folders for the Assignment Specification in HW_2 student

Source Code

  • The folder contains part2.m, part2data.dat (DATA), part3.m, part4.m and part5.m as part of the source code for respective parts of the assignment
  • x06Simple.csv is the actual dataset
  • part5.jpeg is the visualization for gradient descent in part 5
  • Although the code will work even if the data files are not present, it is still included here for convenience

Report

  • aisraney_hw2_report.pdf is the final solution report

Matlab Version

  • The version of matlab used here is r2016b (Drexel software)

Instructions for Drexel's Tux cluster

  • cd into the directory
  • type in matlab -r "run part2.m"