Skip to content

Instantly share code, notes, and snippets.

@mdfarragher
Created December 3, 2019 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdfarragher/1717901f3d9a1d8223f71ac1976d2726 to your computer and use it in GitHub Desktop.
Save mdfarragher/1717901f3d9a1d8223f71ac1976d2726 to your computer and use it in GitHub Desktop.
// set up the loss function and the classification error function
var lossFunc = CNTKLib.BinaryCrossEntropy(network.Output, labels);
var errorFunc = NetUtil.BinaryClassificationError(network.Output, labels);
// the rest of the code goes here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment