Neural
Neural::Loss Class Referenceabstract

#include <loss.h>

Inheritance diagram for Neural::Loss:

Public Member Functions

 Loss ()
 
virtual double Compute (Eigen::MatrixXd y_true, Eigen::MatrixXd y_pred)=0
 
virtual Eigen::MatrixXd Compute_prime (Eigen::MatrixXd y_true, Eigen::MatrixXd y_pred)=0
 

Constructor & Destructor Documentation

◆ Loss()

Neural::Loss::Loss ( )
inline

Member Function Documentation

◆ Compute()

virtual double Neural::Loss::Compute ( Eigen::MatrixXd  y_true,
Eigen::MatrixXd  y_pred 
)
pure virtual

Implemented in Neural::Cross_entropy, and Neural::Mse.

◆ Compute_prime()

virtual Eigen::MatrixXd Neural::Loss::Compute_prime ( Eigen::MatrixXd  y_true,
Eigen::MatrixXd  y_pred 
)
pure virtual

Implemented in Neural::Cross_entropy, and Neural::Mse.


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