Skip to content

Commit

Permalink
Use transform instead of embed
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and vigsterkr committed Jul 10, 2018
1 parent e70a435 commit 0130c24
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -14,10 +14,10 @@ def converter_stochasticproximityembedding (data_fname, k):
# Embed with local strategy
converter.set_k(k)
converter.set_strategy(SPE_LOCAL)
converter.embed(features)
features = converter.transform(features)
# Embed with global strategy
converter.set_strategy(SPE_GLOBAL)
converter.embed(features)
features = converter.transform(features)

return features
except ImportError:
Expand Down

0 comments on commit 0130c24

Please sign in to comment.