Skip to content

Commit

Permalink
subset for tsne
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulaKramer committed Nov 12, 2024
1 parent d84df6e commit 9b53c0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions kinfraglib/filters/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,10 @@ def debug_tsne(fragment_library):
)

pca = PCA(n_components=50)
crds = pca.fit_transform(list(fragment_library_concat["maccs"]))
crds = pca.fit_transform(list(fragment_library_concat["maccs"]))[100]

crds_embedded = TSNE(
n_components=2, init="pca", learning_rate="auto"
n_components=2, init="pca", learning_rate="auto", random_state=0
).fit_transform(crds)


Expand Down
Loading

0 comments on commit 9b53c0e

Please sign in to comment.