What does the following error:
Warning: overflow encountered in exp
in scipy/numpy using Python generally mean? I\'m computing a ratio in log
In my case, it was due to large values in the data. I had to normalize (divide by 255, because my data was related to images) to get the values scaled down.