Skip to content

Commit

Permalink
Figure 2: Model performance and evaluation using Patchwork (#13)
Browse files Browse the repository at this point in the history
* update module 4 for patchwork

* added patch work notebook

* update

* reran whole pipeline

* updated patch-work figure

* Update notebooks/4.visualization/Figure2_model_performance_and_eval.r

Co-authored-by: Mike Lippincott <58147848+MikeLippincott@users.noreply.github.com>

* upaded

* updated figures and remove f1 score bug

* updated module 0

* update

* updated patch work figures

* update

---------

Co-authored-by: Mike Lippincott <58147848+MikeLippincott@users.noreply.github.com>
  • Loading branch information
axiomcura and MikeLippincott authored May 23, 2024
1 parent 8b24110 commit 63ebd6a
Show file tree
Hide file tree
Showing 57 changed files with 3,258 additions and 3,260 deletions.
3 changes: 2 additions & 1 deletion data/JUMP_data/download.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Shape of Merged dataset (19498, 5805)\n",
"NUmber of plates 51\n",
"Number of meta features 13\n",
"Number of features 5792\n"
Expand Down Expand Up @@ -203,7 +204,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.11.8"
}
},
"nbformat": 4,
Expand Down
404 changes: 194 additions & 210 deletions notebooks/0.feature_selection/0.feature_selection.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
print("Number of features", len(injury_feats))
print("Number of plates", len(injured_df["Plate"].unique()))
print("Number of injuries", len(injured_df["injury_type"].unique()))
print("Number of treatments", len(injured_df["Compound Name"].unique()))
print("List of Compounds", injured_df["Compound Name"].unique())
print("List of Injuries", injured_df["injury_type"].unique())
injured_df.head()
Expand Down
1,014 changes: 493 additions & 521 deletions notebooks/1.data_splits/1.data_splits.ipynb

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions notebooks/2.modeling/2.modeling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -202,7 +202,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -224,7 +224,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -234,7 +234,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -255,7 +255,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -278,7 +278,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -311,7 +311,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -340,7 +340,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -406,7 +406,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -468,7 +468,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -501,7 +501,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -534,7 +534,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand Down
1,277 changes: 718 additions & 559 deletions notebooks/3.jump-analysis/3.jump_analysis.ipynb

Large diffs are not rendered by default.

1,225 changes: 1,225 additions & 0 deletions notebooks/4.visualization/Figure2_model_performance_and_eval.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 63ebd6a

Please sign in to comment.