Skip to content

Instantly share code, notes, and snippets.

@dmichael
Created November 13, 2011 15:14
Show Gist options
  • Select an option

  • Save dmichael/1362210 to your computer and use it in GitHub Desktop.

Select an option

Save dmichael/1362210 to your computer and use it in GitHub Desktop.
Neural Network Cost Function
J = (1/m) * sum( ...
sum((-y .* log(h))-((1-y) .* log(1-h))) ...
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment