FML icon indicating copy to clipboard operation
FML copied to clipboard

Loss function

Open SyedTauhidUllahShah opened this issue 5 years ago • 3 comments

Kindly explain this self.loss = tf.reduce_sum((1 + 0.1 * self.y) * tf.square( (self.y * self.pred + (1 - self.y) * tf.nn.relu(self.beta * (1 - self.y) - self.pred)))) This is different from what u have written in the paper.

SyedTauhidUllahShah avatar Aug 12 '19 07:08 SyedTauhidUllahShah

I have revised the loss. self.loss = tf.reduce_sum((1 + 0.1 * self.y ) * tf.square(self.beta * (self.one - self.y) - self.pred_y))

cheungdaven avatar Oct 23 '19 11:10 cheungdaven

What's does self. one mean?

SyedTauhidUllahShah avatar Oct 23 '19 12:10 SyedTauhidUllahShah

oh, sorry about that, it should be 1.

cheungdaven avatar Oct 23 '19 12:10 cheungdaven