Difference between revisions of "Tutorial: Playing with the Boston Housing Data"
(→SKLearn Linear Regression Model on the Boston Data) |
(→TensorFlow Neural Net with Hidden Layers: Regression on Boston Data) |
||
Line 33: | Line 33: | ||
<br /> | <br /> | ||
− | =TensorFlow | + | =TensorFlow NN with Hidden Layers: Regression on Boston Data= |
<br /> | <br /> | ||
Here we take the same approach, but use the TensorFlow library to solve the problem of predicting the housing prices using the 13 features present in the Boston data. | Here we take the same approach, but use the TensorFlow library to solve the problem of predicting the housing prices using the 13 features present in the Boston data. |
Revision as of 15:20, 10 August 2016
--D. Thiebaut (talk) 16:06, 8 August 2016 (EDT)
Deep Neural-Network Regressor (DNNRegressor from Tensorflow)
This tutorial uses SKFlow and follows very closely two other good tutorials and merges elements from both:
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/skflow/boston.py
- http://bigdataexaminer.com/uncategorized/how-to-run-linear-regression-in-python-scikit-learn/
We use the Boston housing prices data for this tutorial.
The tutorial is best viewed as a Jupyter notebook (available in zipped form below), or as a static pdf (you'll have to retype all the commands...)
- Jupyter Notebook (Unzip before using)
SKLearn Linear Regression Model on the Boston Data
This tutorial also uses SKFlow and follows very closely two other good tutorials and merges elements from both:
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/skflow/boston.py
- http://bigdataexaminer.com/uncategorized/how-to-run-linear-regression-in-python-scikit-learn/
We also use the Boston housing prices data for this tutorial.
The tutorial is best viewed as a Jupyter notebook (available in zipped form below), or as a static pdf (you'll have to retype all the commands...)
- Jupyter Notebook (Unzip before using)
TensorFlow NN with Hidden Layers: Regression on Boston Data
Here we take the same approach, but use the TensorFlow library to solve the problem of predicting the housing prices using the 13 features present in the Boston data.
- Jupyter Notebook (Unzip before using)