| SHOGUN
    4.2.0
    | 
Generic class which is specialized for different backends to perform the cross_entropy operation
Definition at line 414 of file implementation/SpecialPurpose.h.
| Public Types | |
| typedef Matrix::Scalar | T | 
| Static Public Member Functions | |
| static T | compute (Matrix P, Matrix Q) | 
| typedef Matrix::Scalar T | 
Scalar type
Definition at line 417 of file implementation/SpecialPurpose.h.
| 
 | static | 
Returns the cross entropy between P and Q. The cross entropy is defined as \( H(P,Q) = - \sum_{ij} P[i,j]log(Q[i,j]) \)