Skip to content

Instantly share code, notes, and snippets.

@dkn22
Created March 15, 2018 23:14
Show Gist options
  • Save dkn22/d4e184cec79da7de6d87c73636af0f81 to your computer and use it in GitHub Desktop.
Save dkn22/d4e184cec79da7de6d87c73636af0f81 to your computer and use it in GitHub Desktop.
from embedder.regression import Embedder
from embedder.assessment import visualize
import matplotlib.pyplot as plt
embedder = Embedder(embedding_dict)
embedder.fit(X_encoded, y)
embeddings = embedder.get_embeddings()
print(type(embeddings)) # a dictionary
visualize(embeddings['Store'])
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment