Consider the following code with numbered lines: 1)betai = n…
Consider the following code with numbered lines: 1)betai = np.array() # Features 2)ERi = np.array() # Labels 3)hidden = tf.keras.layers.Dense(units=1, input_shape=) 4)model = tf.keras.Sequential() 5)loss = ‘mse’ 6)optimizer = ‘Adam’ 7)model.compile(loss=loss, optimizer=optimizer) 8)history = model.fit(betai, ERi, epochs=10000, verbose=False) 9)plt.plot(history.history) 10)plt.xlabel(‘Number of Epochs’) 11)plt.ylabel(‘Loss’);In which of line does the training of the neural network takes place?