Skip to the content.

Monday (7/19) Response

(1) Use the plot_model() command from tf.keras.utils to produce the plot that describes the input preprocessing step. Describe the plot of each model for the two dataset preprocessing steps.
What does each box in the illustration represent? Are there different paths towards the final concatenation step? What is occurring at each step and why is it necessary to execute before fitting your model.

img_31.png

img_32.png

(2) Train each model and produce the output (not necessary to validate or test).
Describe the model output from each of the trained metro traffic interstate dataset and the iris flowers dataset.

-Iris Model:

Epoch 1/10
4/4 [==============================] - 0s 3ms/step - loss: 1.1921e-07
Epoch 2/10
4/4 [==============================] - 0s 0s/step - loss: 1.1921e-07
Epoch 3/10
4/4 [==============================] - 0s 0s/step - loss: 1.1921e-07
Epoch 4/10
4/4 [==============================] - 0s 3ms/step - loss: 1.1921e-07
Epoch 5/10
4/4 [==============================] - 0s 342us/step - loss: 1.1921e-07
Epoch 6/10
4/4 [==============================] - 0s 3ms/step - loss: 1.1921e-07
Epoch 7/10
4/4 [==============================] - 0s 0s/step - loss: 1.1921e-07
Epoch 8/10
4/4 [==============================] - 0s 3ms/step - loss: 1.1921e-07
Epoch 9/10
4/4 [==============================] - 0s 3ms/step - loss: 1.1921e-07
Epoch 10/10
4/4 [==============================] - 0s 3ms/step - loss: 1.1921e-07 

-Traffic Volume Model:

Epoch 1/10
1507/1507 [==============================] - 23s 15ms/step - loss: 12192317.0000
Epoch 2/10
1507/1507 [==============================] - 26s 17ms/step - loss: 5628457.5000
Epoch 3/10
1507/1507 [==============================] - 27s 18ms/step - loss: 3836894.2500
Epoch 4/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3744486.2500
Epoch 5/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3702563.0000
Epoch 6/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3665475.7500
Epoch 7/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3630548.5000
Epoch 8/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3596066.0000
Epoch 9/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3561109.7500
Epoch 10/10
1507/1507 [==============================] - 26s 17ms/step - loss: 3525196.5000

(3) What is the target for each dataset?

(4) How would you assess the accuracy of each model?

(5) Are you using a different metric for each one? Why is this so? What is each one measuring?