The Gentlest Introduction to Tensorflow – Part 2

#artificialintelligence 

Editor's note: You may want to check out part 1 of this tutorial before proceeding. In the previous article, we used Tensorflow (TF) to build and learn a linear regression model with a single feature so that given a feature value (house size/sqm), we can predict the outcome (house price/). In machine learning (ML) literature, we come across the term'training' very often, let us literally look at what that means in TF. The goal in linear regression is to find W, b, such that given any feature value (x), we can find the prediction (y) by substituting W, x, b values into the model. However to find W, b that can give accurate predictions, we need to'train' the model using available data (the multiple pairs of actual feature (x), and actual outcome (y_), note the underscore).