|
NeuralNet 1.0
|
#include <MCE.hpp>
Static Public Member Functions | |
| static double | cmpLoss (const Eigen::MatrixXd &o, const Eigen::MatrixXd &y) |
| static Eigen::MatrixXd | cmpLossGrad (const Eigen::MatrixXd &yHat, const Eigen::MatrixXd &y) |
Static Public Member Functions inherited from NeuralNet::Loss | |
| static double | cmpLoss (const Eigen::MatrixXd &o, const Eigen::MatrixXd &y) |
| This function computes the loss of the current iteration. | |
| static Eigen::MatrixXd | cmpLossGrad (const Eigen::MatrixXd &yHat, const Eigen::MatrixXd &y) |
| This function computes the loss gradient w.r.t the outputs. | |
Multi-class Cross Entropy