otiliastr / coper

Contextual Parameter Generation for Knowledge Graph Link Prediction
22 stars 7 forks source link

About t-SNE visualization for FB15k-237 #1

Closed chuanyang-Zheng closed 3 years ago

chuanyang-Zheng commented 3 years ago

Hi, I want to know where can I get the code for FB15k-237 t-SNE implementation? I want to visualize some datasets. Thank you very much.

gstoica27 commented 3 years ago

Hi,

We actually used the tensorflow embedding projector to visualize our learned embeddings.

All you'd need to do is download the learned relation embeddings along with the ordered relation list, and upload them to the projector.

The relation embeddings can be extracted by indexing into your trained model, and the ordered relation list can be gotten from the "relations.txt" file that's automatically created when you load the data for the first time.

Hope this helps!

chuanyang-Zheng commented 3 years ago

Thank you very much. Thank you for your reply. 👍