Keras model doesn't learn at all
问题 My model weights (I output them to weights_before.txt and weights_after.txt ) are precisely the same before and after the training, i.e. the training doesn't change anything, there's no fitting happening. My data look like this (I basically want the model to predict the sign of feature, result is 0 if feature is negative, 1 if positive ): ,feature,zerosColumn,result 0,-5,0,0 1,5,0,1 2,-3,0,0 3,5,0,1 4,3,0,1 5,3,0,1 6,-3,0,0 ... Brief summary of my approach: Load the data. Split it column-wise