Path: blob/master/notebooks/book1/13/activation_fun_deriv.ipynb
1192 views
Kernel: Python 3 (ipykernel)
Plot some neural net activation functions and their derivatives
Based on sec 4.1 of http://d2l.ai/chapter_multilayer-perceptrons/mlp.html
In [1]:
In [2]:
Out[2]:
/home/vishal/anaconda3/envs/pyprob/lib/python3.7/site-packages/probml_utils/plotting.py:26: UserWarning: LATEXIFY environment variable not set, not latexifying
warnings.warn("LATEXIFY environment variable not set, not latexifying")
In [3]:
Out[3]:
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
In [4]:
Out[4]:
/home/vishal/anaconda3/envs/pyprob/lib/python3.7/site-packages/probml_utils/plotting.py:80: UserWarning: set FIG_DIR environment variable to save figures
warnings.warn("set FIG_DIR environment variable to save figures")
In [ ]: