mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-01 00:38:46 +02:00
Merge 39336c46a0
into 72eda9a24f
This commit is contained in:
commit
18f8a6b3b6
|
@ -263,7 +263,7 @@ def rce(labels, predictions,
|
|||
|
||||
y = label; p = prediction;
|
||||
binary cross entropy = y * log(p) + (1-y) * log(1-p)
|
||||
|
||||
relative cross entropy = E[log(p)/log(q)]
|
||||
Args:
|
||||
labels:
|
||||
the ground true value.
|
||||
|
|
Loading…
Reference in New Issue
Block a user