cce.loss: Categorical Cross-Entropy Loss function, used for...

View source: R/activations-losses.R View source: R/.ipynb_checkpoints/activations-losses-checkpoint.R

cce.lossR Documentation

Categorical Cross-Entropy Loss function, used for classification networks

Description

Categorical Cross-Entropy Loss function, used for classification networks

Usage

cce.loss(A, Y)

Arguments

A

a matrix of probabilities.

Y

the true Y values.

Value

The floating-point loss for the network.


Greg-Hallenbeck/easy.mlp documentation built on March 10, 2023, 6:31 a.m.