Neural
Neural::Cross_entropy Class Reference

#include <loss.h>

Inheritance diagram for Neural::Cross_entropy:
Collaboration diagram for Neural::Cross_entropy:

Public Member Functions

 Cross_entropy ()
 
virtual double Compute (Eigen::MatrixXd y_true, Eigen::MatrixXd y_pred)
 
virtual Eigen::MatrixXd Compute_prime (Eigen::MatrixXd y_true, Eigen::MatrixXd y_pred)
 
- Public Member Functions inherited from Neural::Loss
 Loss ()
 

Constructor & Destructor Documentation

◆ Cross_entropy()

Neural::Cross_entropy::Cross_entropy ( )
inline

Member Function Documentation

◆ Compute()

virtual double Neural::Cross_entropy::Compute ( Eigen::MatrixXd  y_true,
Eigen::MatrixXd  y_pred 
)
inlinevirtual

Implements Neural::Loss.

◆ Compute_prime()

virtual Eigen::MatrixXd Neural::Cross_entropy::Compute_prime ( Eigen::MatrixXd  y_true,
Eigen::MatrixXd  y_pred 
)
inlinevirtual

Implements Neural::Loss.


The documentation for this class was generated from the following file: