Open lapolonio opened 6 years ago
Hey, Can you forward the code that you used to generate the heatmap.
Please , I am new to seaborn and matplotlib and I am failing too much https://github.com/yashkumaratri/testrepo/blob/master/Untitled.ipynb
I forked the repo https://github.com/lapolonio/generating-reviews-discovering-sentiment
I used html for the heatmap.
Look at generate_html.py
How did you map the sentiment neuron activation to colors?
Were the max and min values generated globally? If so what are they? Do you just scale the min and max activation of a single sample? Do you assume the min is -1 and max is -1?
I assumed the min and max and generated the following:
vs
from blog:
![image](https://user-images.githubusercontent.com/1810412/38569572-9f7734c0-3cb9-11e8-9b2f-ce968ecf2d25.png)