Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Visualization ambiguity #53

Open
lapolonio opened this issue Apr 10, 2018 · 4 comments
Open

Visualization ambiguity #53

lapolonio opened this issue Apr 10, 2018 · 4 comments

Comments

@lapolonio
Copy link

lapolonio commented Apr 10, 2018

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:
image
vs
from blog:
image

@lapolonio
Copy link
Author

@yashkumaratri
Copy link

yashkumaratri commented Apr 17, 2018

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

@lapolonio
Copy link
Author

I forked the repo https://github.com/lapolonio/generating-reviews-discovering-sentiment

I used html for the heatmap.

@lapolonio
Copy link
Author

Look at generate_html.py

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants