Why does it has a constant val_loss:?
Change the last layer's Neuron count to 2.
model.add(keras.layers.Dense( 2, activation=&quot;softmax&quot;)) 
OR
Change your last layer's activation to Sigmoid and keep y_train with single column
model.add(keras.layers.Dense( 1, activation=&quot;sigmoid&quot;))