Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train final nf1 model #37

Merged
merged 1 commit into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 68 additions & 68 deletions 1.train_models/classify_genotypes/classify_genotypes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"execution_count": 1,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:02.848659Z",
"iopub.status.busy": "2024-05-21T18:21:02.848557Z",
"iopub.status.idle": "2024-05-21T18:21:03.302140Z",
"shell.execute_reply": "2024-05-21T18:21:03.301543Z"
"iopub.execute_input": "2024-05-23T21:40:06.086763Z",
"iopub.status.busy": "2024-05-23T21:40:06.086586Z",
"iopub.status.idle": "2024-05-23T21:40:06.528887Z",
"shell.execute_reply": "2024-05-23T21:40:06.528495Z"
},
"jukit_cell_id": "RcnXoNLyM2"
},
Expand Down Expand Up @@ -56,10 +56,10 @@
"execution_count": 2,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:03.304538Z",
"iopub.status.busy": "2024-05-21T18:21:03.304307Z",
"iopub.status.idle": "2024-05-21T18:21:03.307498Z",
"shell.execute_reply": "2024-05-21T18:21:03.307115Z"
"iopub.execute_input": "2024-05-23T21:40:06.530930Z",
"iopub.status.busy": "2024-05-23T21:40:06.530754Z",
"iopub.status.idle": "2024-05-23T21:40:06.533457Z",
"shell.execute_reply": "2024-05-23T21:40:06.533189Z"
},
"jukit_cell_id": "QmTyYX7yVG"
},
Expand Down Expand Up @@ -106,10 +106,10 @@
"execution_count": 3,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:03.309272Z",
"iopub.status.busy": "2024-05-21T18:21:03.309019Z",
"iopub.status.idle": "2024-05-21T18:21:03.688616Z",
"shell.execute_reply": "2024-05-21T18:21:03.688268Z"
"iopub.execute_input": "2024-05-23T21:40:06.535292Z",
"iopub.status.busy": "2024-05-23T21:40:06.535158Z",
"iopub.status.idle": "2024-05-23T21:40:06.944608Z",
"shell.execute_reply": "2024-05-23T21:40:06.944248Z"
},
"jukit_cell_id": "xdgUvt0md2"
},
Expand Down Expand Up @@ -143,10 +143,10 @@
"execution_count": 4,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:03.690996Z",
"iopub.status.busy": "2024-05-21T18:21:03.690619Z",
"iopub.status.idle": "2024-05-21T18:21:03.692854Z",
"shell.execute_reply": "2024-05-21T18:21:03.692603Z"
"iopub.execute_input": "2024-05-23T21:40:06.946995Z",
"iopub.status.busy": "2024-05-23T21:40:06.946846Z",
"iopub.status.idle": "2024-05-23T21:40:06.948839Z",
"shell.execute_reply": "2024-05-23T21:40:06.948589Z"
},
"jukit_cell_id": "byqT0qeQSc"
},
Expand All @@ -171,10 +171,10 @@
"execution_count": 5,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:03.694219Z",
"iopub.status.busy": "2024-05-21T18:21:03.693975Z",
"iopub.status.idle": "2024-05-21T18:21:03.698213Z",
"shell.execute_reply": "2024-05-21T18:21:03.697960Z"
"iopub.execute_input": "2024-05-23T21:40:06.950523Z",
"iopub.status.busy": "2024-05-23T21:40:06.950385Z",
"iopub.status.idle": "2024-05-23T21:40:06.954572Z",
"shell.execute_reply": "2024-05-23T21:40:06.954314Z"
},
"jukit_cell_id": "qP1KgMqkE7"
},
Expand Down Expand Up @@ -275,10 +275,10 @@
"execution_count": 6,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:03.699358Z",
"iopub.status.busy": "2024-05-21T18:21:03.699251Z",
"iopub.status.idle": "2024-05-21T18:21:03.701304Z",
"shell.execute_reply": "2024-05-21T18:21:03.701054Z"
"iopub.execute_input": "2024-05-23T21:40:06.956107Z",
"iopub.status.busy": "2024-05-23T21:40:06.956005Z",
"iopub.status.idle": "2024-05-23T21:40:06.957932Z",
"shell.execute_reply": "2024-05-23T21:40:06.957684Z"
},
"jukit_cell_id": "z9zzUXpQ67"
},
Expand Down Expand Up @@ -309,10 +309,10 @@
"execution_count": 7,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:03.702389Z",
"iopub.status.busy": "2024-05-21T18:21:03.702283Z",
"iopub.status.idle": "2024-05-21T18:21:04.036787Z",
"shell.execute_reply": "2024-05-21T18:21:04.036371Z"
"iopub.execute_input": "2024-05-23T21:40:06.959432Z",
"iopub.status.busy": "2024-05-23T21:40:06.959331Z",
"iopub.status.idle": "2024-05-23T21:40:07.293272Z",
"shell.execute_reply": "2024-05-23T21:40:07.292870Z"
},
"jukit_cell_id": "qrteU1j4F9"
},
Expand Down Expand Up @@ -358,10 +358,10 @@
"execution_count": 8,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:04.039138Z",
"iopub.status.busy": "2024-05-21T18:21:04.038990Z",
"iopub.status.idle": "2024-05-21T18:21:04.221845Z",
"shell.execute_reply": "2024-05-21T18:21:04.221424Z"
"iopub.execute_input": "2024-05-23T21:40:07.295568Z",
"iopub.status.busy": "2024-05-23T21:40:07.295415Z",
"iopub.status.idle": "2024-05-23T21:40:07.486189Z",
"shell.execute_reply": "2024-05-23T21:40:07.485785Z"
},
"jukit_cell_id": "JPOu8mYg6w"
},
Expand Down Expand Up @@ -389,10 +389,10 @@
"execution_count": 9,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:04.224115Z",
"iopub.status.busy": "2024-05-21T18:21:04.223968Z",
"iopub.status.idle": "2024-05-21T18:21:04.227948Z",
"shell.execute_reply": "2024-05-21T18:21:04.227664Z"
"iopub.execute_input": "2024-05-23T21:40:07.488225Z",
"iopub.status.busy": "2024-05-23T21:40:07.488112Z",
"iopub.status.idle": "2024-05-23T21:40:07.491778Z",
"shell.execute_reply": "2024-05-23T21:40:07.491506Z"
},
"jukit_cell_id": "NTCaf4xXY1"
},
Expand All @@ -407,10 +407,10 @@
"execution_count": 10,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:04.229639Z",
"iopub.status.busy": "2024-05-21T18:21:04.229535Z",
"iopub.status.idle": "2024-05-21T18:21:04.251304Z",
"shell.execute_reply": "2024-05-21T18:21:04.250939Z"
"iopub.execute_input": "2024-05-23T21:40:07.493445Z",
"iopub.status.busy": "2024-05-23T21:40:07.493307Z",
"iopub.status.idle": "2024-05-23T21:40:07.514955Z",
"shell.execute_reply": "2024-05-23T21:40:07.514608Z"
},
"jukit_cell_id": "m7apYZPkME"
},
Expand Down Expand Up @@ -451,10 +451,10 @@
"execution_count": 11,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:04.253436Z",
"iopub.status.busy": "2024-05-21T18:21:04.253087Z",
"iopub.status.idle": "2024-05-21T18:21:04.256215Z",
"shell.execute_reply": "2024-05-21T18:21:04.255955Z"
"iopub.execute_input": "2024-05-23T21:40:07.516835Z",
"iopub.status.busy": "2024-05-23T21:40:07.516724Z",
"iopub.status.idle": "2024-05-23T21:40:07.519421Z",
"shell.execute_reply": "2024-05-23T21:40:07.519167Z"
},
"jukit_cell_id": "sZFW0vn0zv"
},
Expand Down Expand Up @@ -506,10 +506,10 @@
"execution_count": 12,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-21T18:21:04.257880Z",
"iopub.status.busy": "2024-05-21T18:21:04.257775Z",
"iopub.status.idle": "2024-05-22T00:42:42.695942Z",
"shell.execute_reply": "2024-05-22T00:42:42.695491Z"
"iopub.execute_input": "2024-05-23T21:40:07.521074Z",
"iopub.status.busy": "2024-05-23T21:40:07.520971Z",
"iopub.status.idle": "2024-05-24T03:58:41.264506Z",
"shell.execute_reply": "2024-05-24T03:58:41.264020Z"
},
"jukit_cell_id": "rHYvmbnZNf"
},
Expand All @@ -518,7 +518,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Best average validation accuracy = 0.9040083496041922\n"
"Best average validation accuracy = 0.9029186077142679\n"
]
}
],
Expand Down Expand Up @@ -586,10 +586,10 @@
"execution_count": 13,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-22T00:42:42.723227Z",
"iopub.status.busy": "2024-05-22T00:42:42.723042Z",
"iopub.status.idle": "2024-05-22T00:42:50.302142Z",
"shell.execute_reply": "2024-05-22T00:42:50.301365Z"
"iopub.execute_input": "2024-05-24T03:58:41.296367Z",
"iopub.status.busy": "2024-05-24T03:58:41.296170Z",
"iopub.status.idle": "2024-05-24T03:58:49.163525Z",
"shell.execute_reply": "2024-05-24T03:58:49.163160Z"
},
"jukit_cell_id": "FNeiZcYJzz"
},
Expand Down Expand Up @@ -1001,12 +1001,12 @@
" /* fitted */\n",
" background-color: var(--sklearn-color-fitted-level-3);\n",
"}\n",
"</style><div id=\"sk-container-id-1\" class=\"sk-top-container\"><div class=\"sk-text-repr-fallback\"><pre>LogisticRegression(C=100.75954293416305, max_iter=3000, n_jobs=-1,\n",
" random_state=0)</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class=\"sk-container\" hidden><div class=\"sk-item\"><div class=\"sk-estimator fitted sk-toggleable\"><input class=\"sk-toggleable__control sk-hidden--visually\" id=\"sk-estimator-id-1\" type=\"checkbox\" checked><label for=\"sk-estimator-id-1\" class=\"sk-toggleable__label fitted sk-toggleable__label-arrow fitted\">&nbsp;&nbsp;LogisticRegression<a class=\"sk-estimator-doc-link fitted\" rel=\"noreferrer\" target=\"_blank\" href=\"https://scikit-learn.org/1.4/modules/generated/sklearn.linear_model.LogisticRegression.html\">?<span>Documentation for LogisticRegression</span></a><span class=\"sk-estimator-doc-link fitted\">i<span>Fitted</span></span></label><div class=\"sk-toggleable__content fitted\"><pre>LogisticRegression(C=100.75954293416305, max_iter=3000, n_jobs=-1,\n",
"</style><div id=\"sk-container-id-1\" class=\"sk-top-container\"><div class=\"sk-text-repr-fallback\"><pre>LogisticRegression(C=164.38164084165948, max_iter=3000, n_jobs=-1,\n",
" random_state=0)</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class=\"sk-container\" hidden><div class=\"sk-item\"><div class=\"sk-estimator fitted sk-toggleable\"><input class=\"sk-toggleable__control sk-hidden--visually\" id=\"sk-estimator-id-1\" type=\"checkbox\" checked><label for=\"sk-estimator-id-1\" class=\"sk-toggleable__label fitted sk-toggleable__label-arrow fitted\">&nbsp;&nbsp;LogisticRegression<a class=\"sk-estimator-doc-link fitted\" rel=\"noreferrer\" target=\"_blank\" href=\"https://scikit-learn.org/1.4/modules/generated/sklearn.linear_model.LogisticRegression.html\">?<span>Documentation for LogisticRegression</span></a><span class=\"sk-estimator-doc-link fitted\">i<span>Fitted</span></span></label><div class=\"sk-toggleable__content fitted\"><pre>LogisticRegression(C=164.38164084165948, max_iter=3000, n_jobs=-1,\n",
" random_state=0)</pre></div> </div></div></div></div>"
],
"text/plain": [
"LogisticRegression(C=100.75954293416305, max_iter=3000, n_jobs=-1,\n",
"LogisticRegression(C=164.38164084165948, max_iter=3000, n_jobs=-1,\n",
" random_state=0)"
]
},
Expand Down Expand Up @@ -1043,10 +1043,10 @@
"execution_count": 14,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-22T00:42:50.305016Z",
"iopub.status.busy": "2024-05-22T00:42:50.304779Z",
"iopub.status.idle": "2024-05-22T00:43:02.818586Z",
"shell.execute_reply": "2024-05-22T00:43:02.818167Z"
"iopub.execute_input": "2024-05-24T03:58:49.165161Z",
"iopub.status.busy": "2024-05-24T03:58:49.165044Z",
"iopub.status.idle": "2024-05-24T03:58:56.895866Z",
"shell.execute_reply": "2024-05-24T03:58:56.895450Z"
},
"jukit_cell_id": "Hwc1Sal9AZ"
},
Expand Down Expand Up @@ -1082,10 +1082,10 @@
"execution_count": 15,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-22T00:43:02.820572Z",
"iopub.status.busy": "2024-05-22T00:43:02.820422Z",
"iopub.status.idle": "2024-05-22T00:43:02.969411Z",
"shell.execute_reply": "2024-05-22T00:43:02.968984Z"
"iopub.execute_input": "2024-05-24T03:58:56.898024Z",
"iopub.status.busy": "2024-05-24T03:58:56.897874Z",
"iopub.status.idle": "2024-05-24T03:58:57.055952Z",
"shell.execute_reply": "2024-05-24T03:58:57.055525Z"
},
"jukit_cell_id": "4uw0FlkRQV"
},
Expand All @@ -1103,10 +1103,10 @@
"execution_count": 16,
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-22T00:43:02.971899Z",
"iopub.status.busy": "2024-05-22T00:43:02.971744Z",
"iopub.status.idle": "2024-05-22T00:43:36.758999Z",
"shell.execute_reply": "2024-05-22T00:43:36.758554Z"
"iopub.execute_input": "2024-05-24T03:58:57.058268Z",
"iopub.status.busy": "2024-05-24T03:58:57.058118Z",
"iopub.status.idle": "2024-05-24T03:59:32.432709Z",
"shell.execute_reply": "2024-05-24T03:59:32.432136Z"
},
"jukit_cell_id": "ONBKrPrWx0"
},
Expand Down
Git LFS file not shown
Binary file modified 1.train_models/classify_genotypes/data/trained_nf1_model.joblib
Binary file not shown.