Skip to content

Commit

Permalink
Merge pull request #55 from ucsd-hep-ex/mix_baseline
Browse files Browse the repository at this point in the history
Mix baseline training and predictions
  • Loading branch information
billy000400 authored Dec 4, 2024
2 parents 43b617a + 83ba1f3 commit 8b61867
Show file tree
Hide file tree
Showing 10 changed files with 2,276 additions and 76 deletions.
1 change: 1 addition & 0 deletions models/bdt_trained_on_hhh_qcd.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions notebooks/bdt/hhh_qcd_bdt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"outputs": [],
"source": [
"fn_delphes = \"../../data/delphes/v2/merged_training_all.h5\"\n",
"fn_delphes = \"../../data/delphes/v2/hhh_training.h5"\"\n",
"f2 = h5py.File(fn_delphes, \"r+\")"
]
},
Expand Down Expand Up @@ -304,7 +304,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"6254969 1948467\n"
"553548 164601\n"
]
}
],
Expand Down Expand Up @@ -562,7 +562,7 @@
"metadata": {},
"outputs": [],
"source": [
"booster.save_model('bdt_trained_on_all.json')"
"booster.save_model('../../models/bdt_trained_on_hhh_qcd.json')"
]
},
{
Expand Down Expand Up @@ -600,7 +600,7 @@
{
"data": {
"text/plain": [
"0.95553684"
"0.95626426"
]
},
"execution_count": 21,
Expand All @@ -621,7 +621,7 @@
{
"data": {
"text/plain": [
"0.9346559"
"0.93498826"
]
},
"execution_count": 22,
Expand All @@ -642,7 +642,7 @@
{
"data": {
"text/plain": [
"0.91041"
"0.911348"
]
},
"execution_count": 23,
Expand Down
Loading

0 comments on commit 8b61867

Please sign in to comment.