Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
| #!/usr/bin/env python | |
| ''' | |
| Send an multipart email with HTML and plain text alternatives. The message | |
| should be constructed as a plain-text file of the following format: | |
| From: Your Name <your@email.com> | |
| To: Recipient One <recipient@to.com> | |
| Subject: Your subject line | |
| --- |
| def weighted_log_loss(yt, yp): | |
| '''Log loss that weights false positives or false negatives more. | |
| Punish the false negatives if you care about making sure all the neurons | |
| are found and don't mind some false positives. Vice versa for punishing | |
| the false positives. Concept taken from the UNet paper where they | |
| weighted boundary errors to get cleaner boundaries.''' | |
| emphasis = 'fn' | |
| assert emphasis in ['fn', 'fp'] | |
| m = 2 |
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223