This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" erf.py | |
~~~~~~~~~~ | |
A doctored classification problem so that I can assert that the error function | |
works as a valid and better activation function than ReLU / Sigmoid. | |
erf tends to converge faster, but as you increase ``epochs`` and training size, | |
the classical ReLU / Tanh activation functions dominate: | |
~~~~~~~~~~ | |
Training with ReLU activation |