You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a classification problem, with a cross entropy cost function and trained with Maximum Likelihood Estimation, you can calculate the cost function for a random output. That is -np.log(1 / float(num_classes)
The 1E-9 is to escape numerical errors
I wonder why set the initial value of "cost_train_ma" to -np.log(1 / float(num_classes) + 1e-9)
The text was updated successfully, but these errors were encountered: