Difference between revisions of "Tutorial: Playing with the Boston Housing Data"

From dftwiki3
Jump to: navigation, search
(TensorFlow NN with Hidden Layers: Regression on Boston Data)
(TensorFlow NN with Hidden Layers: Regression on Boston Data)
Line 40: Line 40:
 
* [[Media:TFLearnLinearRegressionBostonData.ipynb.zip | Jupyter Notebook]] (Unzip before using)
 
* [[Media:TFLearnLinearRegressionBostonData.ipynb.zip | Jupyter Notebook]] (Unzip before using)
 
<br />
 
<br />
[[Image:TensorFlowNNBostonHousingPredVsReal.png|200px]]
+
[[Image:TensorFlowNNBostonHousingPredVsReal.png|250px]]
[[Image:TensorFlowNNBostonHousingResiduals.png|200px]]
+
[[Image:TensorFlowNNBostonHousingResiduals.png|250px]]
[[Image:TensorFlowNNBostonHousingCostVsEpochs.png|200px]]
+
[[Image:TensorFlowNNBostonHousingCostVsEpochs.png|250px]]
  
 
<br />
 
<br />

Revision as of 06:22, 11 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:


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...)



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:


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...)


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.


TensorFlowNNBostonHousingPredVsReal.png TensorFlowNNBostonHousingResiduals.png TensorFlowNNBostonHousingCostVsEpochs.png