How can "binary cross-entropy" be expressed in Mandarin Chinese? NOTE: "binary cross-entropy" is a terminology used in Machine Learning field.



交叉熵 seems to mean "cross-entropy" in Mandarin Chinese. According to this page however, it expresses the "binary cross-entropy loss" as 交叉熵损失. 

Also, according to Keras documentation on Chinese (Keras is a popular deep learning library on Python):


  下面我们训练自编码器，来重构MNIST中的数字，这里使用逐像素的交叉熵作为损失函数，优化器为adam


However, it uses "binary cross-entropy" as a loss function.

Now, 交叉 means cross and 熵 means entropy. So there is no word for binary to be fit into. This page written in Chinese also shows it as "cross-entropy":


  交叉熵（Cross-Entropy）


So I wonder if it is no problem to just use 交叉熵 to mean "binary cross-entropy". Or is there any other word to specifically mean "binary cross-entropy"? How about other jargons, such as "categorical cross-entropy"? If I use 交叉熵, does it always mean "binary cross-entropy"?
I cannot find the Keras page you linked now. But I can still find the Keras document through search.

Binary cross entropy in the document is just a special case when the output can take only one of two classes. Make the context clear, there is no need to distinguish them in normal text. The mathematical formula of cross entropy just can deal with any number of classes (2 and above). So whether it is "binary" is implied in the problem you want to solve. There is no need to make it explicit.

So why the Keras documents explicitly distinguish them? This is because when the output can take only two classes, the input can take a different format than when there are multiple classes, and may save some space. So they have "binary_crossentropy" and "categorical_crossentropy", which deals with different input. Note that even you have only two classes, you can still use "categorical_crossentropy" by manipulating your input format to fit the requirements of "categorical_crossentropy".

As the translation, you may use "二类的交叉熵" and "多类的交叉熵". But these are only words that I coined up. There is no specific term for this, as this is only a software thing.