How it works...

Our model has now been visualized as a neural network diagram, as shown in the following diagram:

Figure 5: The preceding figure is a visualization of our neural network that has five nodes in the hidden layer. We are feeding in three values: the sepal length (S.L), the sepal width (S.W.), and the petal length (P.L.). The target will be the petal width. In total, there will be 26 total variables in the model

Get TensorFlow Machine Learning Cookbook - Second Edition 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.