how to get probability in classification problem I am learning ML with this tutorial. https://pythonprogramming.net/using-trained-model-deep-learning-python-tensorflow-keras/
When I try to use the model to predict, I only get 0 or 1, but I thought that since the last layer is
model.add(Dense(1))
model.add(Activation('sigmoid'))

the final output would be in the range [0,1] and not the extreme value 0 or 1. How can I get the exact result?
Thanks a lot for your help. I tried model.summary() and looked at the outputs of intermediate layers. My mistake was not normalizing the test input.