Skip to content

Commit

Permalink
Format using black
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnh committed Aug 28, 2023
1 parent ab9f1d6 commit adb86a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions litstudy/nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,5 @@ def calculate_embedding(corpus: Corpus, *, rank=2, svd_dims=50, perplexity=30, s
else:
components = tfidf

model = TSNE(
rank, metric="cosine", perplexity=perplexity, random_state=seed
)
model = TSNE(rank, metric="cosine", perplexity=perplexity, random_state=seed)
return model.fit_transform(components)

0 comments on commit adb86a9

Please sign in to comment.