Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


In order to test whether my linear_regression() function works properly, I created a test function called 'test_multiple_regression', which takes a filename as a parameter.  I call this function in the main method of analysis class, so simply run my to test this test function with filename as a command line argument.  I tested with following data sets: data-clean.csv, data-good.csv, and data-noisy.csv.   Note that my test function will work just for these data sets.

The following images show the results of running my linear_regression function on data-clean.csv, data-good.csv, and data-noisy.csv, respectively.