Skip to content

Commit

Permalink
Repository has been restructured with new reproducibility folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfogeladvestis committed Aug 2, 2024
1 parent b249626 commit 3d1859a
Show file tree
Hide file tree
Showing 32 changed files with 68 additions and 29,348 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ILSM is Integrated Latent Multi Source Model.

# Reference

https://www.preprints.org/manuscript/202402.1001/v3
https://doi.org/10.36922/aih.3427

# Usage

Expand Down
19 changes: 12 additions & 7 deletions examples/abis_all.ipynb → examples/reproducibily/abis_all.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.13\n"
]
}
],
"source": [
"from adnmtf import NMF, NTF\n",
"# from sklearn.decomposition import NMF\n",
Expand Down Expand Up @@ -35,9 +43,6 @@
"# from umap import umap_\n",
"from scipy.spatial import distance_matrix\n",
"import hoggorm as ho\n",
"import tensorly as tl\n",
"from tensorly.decomposition import non_negative_parafac_hals\n",
"\n",
"from sklearn.metrics.cluster import adjusted_rand_score\n",
"from sklearn.metrics.cluster import normalized_mutual_info_score\n",
"from sklearn.preprocessing import StandardScaler\n",
Expand All @@ -48,8 +53,8 @@
"\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -55,8 +55,8 @@
"from gfa import gfa_experiments\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'\n"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'\n"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -53,8 +53,8 @@
"\n",
"from gfa import gfa_experiments\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -60,8 +60,8 @@
"\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -65,8 +65,8 @@
"\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -54,8 +54,8 @@
"from scipy.stats import trim_mean\n",
"\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -51,8 +51,8 @@
"from sklearn.preprocessing import StandardScaler\n",
"from sklearn.metrics.cluster import rand_score\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
},
{
Expand All @@ -279,7 +279,7 @@
"True"
]
},
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -317,8 +317,8 @@
"from mofapy2.run.entry_point import entry_point\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'\n",
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'\n",
"\n",
"torch.cuda.is_available()"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
},
{
Expand Down Expand Up @@ -106,8 +106,8 @@
"from mofapy2.run.entry_point import entry_point\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'\n",
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'\n",
"\n",
"torch.cuda.is_available()"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
},
{
Expand Down Expand Up @@ -96,8 +96,8 @@
"from mofapy2.run.entry_point import entry_point\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'\n",
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'\n",
"\n",
"torch.cuda.is_available()"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.11\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -53,8 +53,8 @@
"\n",
"from gfa import gfa_experiments\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -52,8 +52,8 @@
"from gfa import gfa_experiments\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.13\n"
]
}
],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
Expand All @@ -51,8 +59,8 @@
"import adilsm.adilsm as ilsm\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down Expand Up @@ -53,8 +53,8 @@
"\n",
"from ism_utils import specificity_score, specificity_plot\n",
"\n",
"RESULTS_PATH = './results/'\n",
"DATA_PATH = './data/'"
"RESULTS_PATH = '../results/'\n",
"DATA_PATH = '../data/'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"adilsm version=0.0.12\n"
"adilsm version=0.0.13\n"
]
}
],
Expand Down
Loading

0 comments on commit 3d1859a

Please sign in to comment.