O'Reilly logo

TensorFlow Machine Learning Cookbook by Nick McClure

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Visualizing graphs in Tensorboard

Monitoring and troubleshooting machine learning algorithms can be a daunting task. Especially if you have to wait a long time for the training to complete before you know the results. To work around this, TensorFlow includes a computational graph visualization tool called Tensorboard. With Tensorboard, we can visualize and graph important values (loss, accuracy, batch training time, and so on) even during training.

Getting ready

To illustrate the various ways we can use Tensorboard, we will reimplement the linear regression model from The TensorFlow way of linear regressionrecipe in Chapter 3, Linear Regression. We'll generate linear data with errors, and use TensorFlow loss and backpropagation to fit a line to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required