Created
March 15, 2018 23:14
-
-
Save dkn22/d4e184cec79da7de6d87c73636af0f81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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