Home » Uncategorized

Linear Regression in Tensorflow

Tensorflow is an open source machine learning (ML) library from Google. It has particularly became popular because of the support for Deep Learning. Apart from that it’s highly scalable and can run on Android. The documentation is well maintained and several tutorials available for different expertise levels. To learn more about downloading and installing Tesnorflow, visit official website.

To scratch the surface of this incredible ML library, we will implement Linear Regression to predict prices of houses in Boston area. The Boston dataset is available at UCI Machine Learning Repository. It is also available in R and scikit-learn. If you don’t know the maths behind Linear Regression, some great resources are provided at the end of this tutorial.

Let’s get started.

Firstly, we will import the required libraries which includes: TensorFlow, Numpy and Matplotlib.


Read full article with source code.

For more about TensorFlow, click here