Skip to content

Commit

Permalink
small changes, rerun notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulaKramer committed Feb 3, 2025
1 parent b1cf797 commit 8714ca9
Show file tree
Hide file tree
Showing 10 changed files with 356 additions and 465 deletions.
4 changes: 2 additions & 2 deletions kinfraglib/filters/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def sample_subset(fragment_library, sample):
return fragment_library_subset


def create_tsne_embeddings(fragment_library):
def create_tsne_embeddings(fragment_library, n_components):
"""
Creates the t-SNE embedding for all following t-SNE plots
----------
Expand All @@ -345,7 +345,7 @@ def create_tsne_embeddings(fragment_library):
MACCSkeys.GenMACCSKeys
)

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

crds_embedded = TSNE(
Expand Down
649 changes: 241 additions & 408 deletions notebooks/custom_kinfraglib/2_2_custom_filters_analysis.ipynb

Large diffs are not rendered by default.

168 changes: 113 additions & 55 deletions notebooks/custom_kinfraglib/2_3_custom_filters_paper.ipynb

Large diffs are not rendered by default.

Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_bb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_brenk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_custom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_pains.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_qed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_ro3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/custom_kinfraglib/figures/tsne_bool_syba.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8714ca9

Please sign in to comment.