Skip to content

Commit adb86a9

Browse files
committed
Format using black
1 parent ab9f1d6 commit adb86a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

litstudy/nlp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,5 @@ def calculate_embedding(corpus: Corpus, *, rank=2, svd_dims=50, perplexity=30, s
407407
else:
408408
components = tfidf
409409

410-
model = TSNE(
411-
rank, metric="cosine", perplexity=perplexity, random_state=seed
412-
)
410+
model = TSNE(rank, metric="cosine", perplexity=perplexity, random_state=seed)
413411
return model.fit_transform(components)

0 commit comments

Comments
 (0)