A simple python linear regression implementation. Using S&P housing census data as an built-in example.
Dependencies:
- numpy
- scipy
- matplotlib
- In Terminal, run 'python -i linear_regression.py'
- The printed outputs shows the range of the predicted home values , and RSS of the prediction. (With Linear regression model)
- To view the coefficient plot against their indices, type 'coefficients.show()'
- To veiw the residual histogram, type 'residuals.show()'