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 ...
Get TensorFlow Machine Learning Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.