Skip to main content

All Questions

0 votes
1 answer
45 views

Why don't I get the same result as with tensorflow's method when I write my own expression?

I'm learning logistic regression and I want to calculate what is the value of the cross entropy loss function during minimizing it via gradient descent, but when I use tensorflow's ...
Ereghard's user avatar
  • 124
1 vote
0 answers
52 views

How is error calculated in a simple logistic regression neural network?

Below is the following dataframe reporting the results of training a dataset on a binary classification problem: columns a and b represent x and y respectively and the structure of the neural network ...
Sunny's user avatar
  • 302
101 votes
3 answers
67k views

How to choose cross-entropy loss in TensorFlow?

Classification problems, such as logistic regression or multinomial logistic regression, optimize a cross-entropy loss. Normally, the cross-entropy layer follows the softmax layer, which produces ...
Maxim's user avatar
  • 53.8k
0 votes
1 answer
145 views

Does binary log loss exclude one part of equation based on y?

Assuming the log loss equation to be: logLoss=−(1/N)*∑_{i=1}^N (yi(log(pi))+(1−yi)log(1−pi)) where N is number of samples, yi...yiN is the actual value of the dependent variable, and pi...piN is the ...
Liam Hanninen's user avatar