Also I would like to mention that I tried to run your code and your labels are floating point values whereas the labels should be some fixed values where the model is able to create a mapping function between the input and the output. @Sunakutra76