FUNCTION REFERENCE

crossentropy

Mean cross-entropy over target and output elements; one row uses binary encoding.

Mean cross-entropy over target and output elements; one row uses binary encoding.

Syntax

p = crossentropy(t,y)

Example

crossentropy(patternnet(2),[1 0],[0.9 0.2])

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.