Guest User

Untitled

a guest
Mar 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. from embedder.regression import Embedder
  2. from embedder.assessment import visualize
  3. import matplotlib.pyplot as plt
  4.  
  5. embedder = Embedder(embedding_dict)
  6. embedder.fit(X_encoded, y)
  7.  
  8. embeddings = embedder.get_embeddings()
  9. print(type(embeddings)) # a dictionary
  10.  
  11. visualize(embeddings['Store'])
  12. plt.show()
Add Comment
Please, Sign In to add comment