From adb86a9e59a5bc38ec218e296d76521583ad0c0a Mon Sep 17 00:00:00 2001 From: Stijn Date: Mon, 28 Aug 2023 14:09:26 +0200 Subject: [PATCH] Format using black --- litstudy/nlp.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litstudy/nlp.py b/litstudy/nlp.py index 7726b7a..b0486fa 100644 --- a/litstudy/nlp.py +++ b/litstudy/nlp.py @@ -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)