kevincfz/Linear-Regression

A simple python linear regression implementation. Using S&P housing census data as an built-in example.

★ 3Forks 1PythonGitHub ↗Compare

README

Linear-Regression

A simple python linear regression implementation. Using S&P housing census data as an built-in example.

Dependencies:

  • numpy
  • scipy
  • matplotlib
  1. In Terminal, run 'python -i linear_regression.py'
  2. The printed outputs shows the range of the predicted home values , and RSS of the prediction. (With Linear regression model)
  3. To view the coefficient plot against their indices, type 'coefficients.show()'
  4. To veiw the residual histogram, type 'residuals.show()'

Contributors

kevincfz

Issues