Data Science, Data, Machine Learning, Artificial Intelligence, Coding.
scale it between 0 and 1, our output will just be a wavy graph from 0 to 1 which will result in a lot of local minima deceiving the gradient descent algorithm. To solve this problem, we reverse the effects of the exponential by taking it’s opposite, the log of the output before computing the cost.