TensorFlow, Deep Learning, Neural Networks, Machine Learning, Colab.
may say the pattern the model randomly chooses is y = 12X-3 (But we know it is y=2X-1). Then it compares its prediction with the original prediction and finds the loss using the loss function which is “mean_squared_error” in our case. For example, for X = -1 the model will predict y as y = 12(-1)-1