Skip to content

Commit

Permalink
multiepoch plots
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangir-azerbayev committed Oct 30, 2023
1 parent 43590b0 commit 2427646
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 3 deletions.
80 changes: 77 additions & 3 deletions analysis/hf_reanalysis/reanalysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 27,
"id": "cf7a0b36",
"metadata": {},
"outputs": [],
Expand All @@ -934,6 +934,7 @@
" x_key='N', \n",
" y_key='D', \n",
" z_key='L', \n",
" color_key='L',\n",
" fit_fn=single_epoch_fit,\n",
" savepath='single-epoch-runs-fitted.html'\n",
")"
Expand Down Expand Up @@ -981,7 +982,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 28,
"id": "dd301104-be42-4d08-9028-6a2a24927161",
"metadata": {
"tags": []
Expand All @@ -996,7 +997,80 @@
" color_key='R',\n",
" color_type='log',\n",
" fit_fn=single_epoch_fit,\n",
" savepath='single-epoch-runs-fitted-multiepoch-color.html'\n",
" savepath='single-epoch-runs-fitted-multiepoch-D_total.html'\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 29,
"id": "42a33d7d-589c-4035-ac7c-63c96f5c46a8",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"runs = {\n",
" **runs, \n",
" 'residuals': runs['L'] - single_epoch_fit(runs['N'], runs['D_total'])\n",
"}\n",
"\n",
"scaling_scatter(\n",
" runs, \n",
" x_key='N', \n",
" y_key='D_total', \n",
" z_key='residuals', \n",
" z_type='linear',\n",
" color_key='R',\n",
" color_type='log',\n",
" savepath='single-epoch-runs-fitted-multiepoch-D_total-residuals.html'\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 30,
"id": "8d99e451-c54a-4134-877e-ad0d5cab1929",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"scaling_scatter(\n",
" runs, \n",
" x_key='N', \n",
" y_key='D', \n",
" z_key='L', \n",
" color_key='R',\n",
" color_type='log',\n",
" fit_fn=single_epoch_fit,\n",
" savepath='single-epoch-runs-fitted-multiepoch-D.html'\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 33,
"id": "64a2b62c-3716-4f37-bedb-8cbaac612bb6",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"runs = {\n",
" **runs, \n",
" 'residuals': runs['L'] - single_epoch_fit(runs['N'], runs['D'])\n",
"}\n",
"\n",
"scaling_scatter(\n",
" runs, \n",
" x_key='N', \n",
" y_key='D', \n",
" z_key='residuals', \n",
" z_type='linear',\n",
" color_key='R',\n",
" color_type='log',\n",
" savepath='single-epoch-runs-fitted-multiepoch-D-residuals.html'\n",
")"
]
}
Expand Down

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions analysis/hf_reanalysis/single-epoch-runs-fitted-multiepoch-D.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 2427646

Please sign in to comment.