To add Latex code in HTML website, there are two ways,
- Simple way to add Latex code is using HTML image tag(for more info visit codecogs):
<img src="http://latex.codecogs.com/gif.latex?1+sin(x)" border="0"/>
- Using MathJax CDN:
Attention Mechanism by Heuritech Le Blog
Visual Attention Model in Deep Learning by Tristan
Attention and Menory in Deep LEarning and NLP: wildml post by Denny Britz
Attention in Convolutional Neural Nets by Dan Vatterott
| # To generate synthetic graphs with communitites and finding these communitites uing Girvan-Newman algorithm | |
| ''' | |
| installation steps: | |
| 1) pip install networkx | |
| 2) pip install python-louvain | |
| 3) pip install community | |
| ''' | |
| import networkx as nx | |
| import matplotlib.pyplot as plt | |
| %matplotlib inline |
| pip show tensorflow | |
| pip uninstall tensorflow | |
| # Tensorflow 1.4 works only with Python 3.5 | |
| # to install downgrade Python 3.6 to Python 3.5 in Anaconda | |
| conda install python=3.5 | |
| # now install tensorflow 1.4 | |
| sudo apt-get install python3-pip python3-dev | |
| pip install tensorflow |