Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
192021f
organize files
tobias-boeckh Jan 29, 2026
fd98e30
add debug info
tobias-boeckh Jan 30, 2026
582e067
read geometry from file if it exists
tobias-boeckh Jan 30, 2026
02e014c
add pdg label
tobias-boeckh Jan 30, 2026
79e1def
add faser spectrometer hits
tobias-boeckh Feb 2, 2026
2493fa7
added pointnet, gravnet, cnn and dynamic edge convolutions
tobias-boeckh Feb 10, 2026
381c05e
Added regression model class (NeutrinoGravNetRegressionFASER)
sofia-goncalves Feb 19, 2026
660d0f4
added training script for gravnet nu_e regression
sofia-goncalves Feb 19, 2026
8933387
made hit_fromCharmedHadron conditional as my root files don't contain…
sofia-goncalves Feb 19, 2026
0c210ee
added checkpoint-restart for gravnet regression training
sofia-goncalves Feb 24, 2026
989a96f
added evaluation notebook
sofia-goncalves Mar 3, 2026
519ecce
made FASER MLP deeper (5,16,16,8) and replaced ReLU with SiLU in regr…
sofia-goncalves Mar 3, 2026
80cb934
reparametrised νe regression to energy-conserving (log10 E_nu, logit …
sofia-goncalves Mar 3, 2026
2fa8b06
updated evaluation notebook for (log10 E_nu, logit y) reparametrised …
sofia-goncalves Mar 3, 2026
7998f04
Add network using kinematic features
tobias-boeckh Mar 4, 2026
7e4c117
standardisation of target variables to ensure euqally weighted loss t…
sofia-goncalves Mar 6, 2026
1b0f027
moved eval notebook location
sofia-goncalves Mar 6, 2026
5dd4cdf
Merge remote-tracking branch 'origin/gravnet' into energy-regression
sofia-goncalves Mar 6, 2026
fedc98d
add additional training flags from experiments
sofia-goncalves Mar 17, 2026
41b0cbe
add 4-class node classifier for informing regression model, motivated…
sofia-goncalves Mar 21, 2026
0a0278b
Refactor GravNet nodes model to use dynamic stacks and add training i…
sofia-goncalves Apr 2, 2026
624d0aa
add scrip to visualise best/worst classification cases
sofia-goncalves Apr 2, 2026
5a48dae
Change to predict inelasticity rather than lepton energy fraction
sofia-goncalves Apr 2, 2026
aef0a47
add --beta-loss mode replacing MSE on inelasticity with Beta -ve log …
sofia-goncalves Apr 13, 2026
a8ae297
various changes for different experiments:
sofia-goncalves Apr 26, 2026
70cf91b
Add vertex-dist and per-event-weighting flags to training scripts
sofia-goncalves May 26, 2026
ebdcec2
new failure-mode comparison analysis script
sofia-goncalves May 26, 2026
6f0596c
updates to eval notebooks for final experiments
sofia-goncalves May 26, 2026
813e6d6
improvements to regression comparison notebook
sofia-goncalves May 26, 2026
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
41 changes: 40 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies = [
"torch-geometric (>=2.6.1,<3.0.0)",
"awkward-pandas (>=2023.8.0,<2024.0.0)",
"seaborn (>=0.13.2,<0.14.0)",
"particle (>=0.26.1,<0.27.0)",
]

[tool.poetry]
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/cnn.py → src/analysis/cnn/cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from torch.utils.data import DataLoader

from analysis.utils.datasets import CNN3DDataset, CNNProjectionDataset
from analysis.utils.networks import ClassifierProjectionCNN
from analysis.utils.models import ClassifierProjectionCNN
from analysis.utils.torch_data_utils import evaluate_model
from analysis.utils.torch_utils import get_device, show_model, train
from analysis.utils.utils import get_figures_path, get_torch_path, get_weights_path
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,19 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "26509ddd",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Using device: cpu\n"
"ename": "NameError",
"evalue": "name 'get_torch_path' is not defined",
"output_type": "error",
"traceback": [
"\u001b[31m---------------------------------------------------------------------------\u001b[39m",
"\u001b[31mNameError\u001b[39m Traceback (most recent call last)",
"\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[1]\u001b[39m\u001b[32m, line 5\u001b[39m\n\u001b[32m 2\u001b[39m \u001b[38;5;66;03m# geometry_label = \"cnn_projection_200um_bins_10000_10003\"\u001b[39;00m\n\u001b[32m 3\u001b[39m \u001b[38;5;66;03m# geometry_label = \"theta_100mrad_ratio_10\"\u001b[39;00m\n\u001b[32m 4\u001b[39m geometry_label = \u001b[33m\"\u001b[39m\u001b[33m./\u001b[39m\u001b[33m\"\u001b[39m\n\u001b[32m----> \u001b[39m\u001b[32m5\u001b[39m torch_path = \u001b[43mget_torch_path\u001b[49m() / geometry_label / \u001b[33m\"\u001b[39m\u001b[33mcnn.pt\u001b[39m\u001b[33m\"\u001b[39m\n\u001b[32m 6\u001b[39m weights_path = get_weights_path() / geometry_label\n\u001b[32m 7\u001b[39m figures_path = get_figures_path() / geometry_label\n",
"\u001b[31mNameError\u001b[39m: name 'get_torch_path' is not defined"
]
}
],
Expand Down Expand Up @@ -135,7 +139,7 @@
},
{
"cell_type": "code",
"execution_count": 165,
"execution_count": null,
"id": "a7bafe29",
"metadata": {},
"outputs": [
Expand All @@ -155,7 +159,7 @@
},
{
"cell_type": "code",
"execution_count": 166,
"execution_count": null,
"id": "c5220938",
"metadata": {},
"outputs": [
Expand All @@ -180,7 +184,7 @@
},
{
"cell_type": "code",
"execution_count": 167,
"execution_count": null,
"id": "65279494",
"metadata": {},
"outputs": [
Expand All @@ -201,7 +205,7 @@
},
{
"cell_type": "code",
"execution_count": 168,
"execution_count": null,
"id": "bcc4a46a",
"metadata": {},
"outputs": [
Expand All @@ -224,7 +228,7 @@
},
{
"cell_type": "code",
"execution_count": 169,
"execution_count": null,
"id": "b828959e",
"metadata": {},
"outputs": [
Expand All @@ -247,7 +251,7 @@
},
{
"cell_type": "code",
"execution_count": 170,
"execution_count": null,
"id": "a3ff6371",
"metadata": {},
"outputs": [
Expand All @@ -273,7 +277,7 @@
},
{
"cell_type": "code",
"execution_count": 171,
"execution_count": null,
"id": "0fe4eed0",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -343,7 +347,7 @@
},
{
"cell_type": "code",
"execution_count": 175,
"execution_count": null,
"id": "3b474d45",
"metadata": {},
"outputs": [],
Expand All @@ -365,7 +369,7 @@
},
{
"cell_type": "code",
"execution_count": 190,
"execution_count": null,
"id": "d92a7229",
"metadata": {},
"outputs": [],
Expand All @@ -379,7 +383,7 @@
},
{
"cell_type": "code",
"execution_count": 210,
"execution_count": null,
"id": "62886ec4",
"metadata": {},
"outputs": [],
Expand All @@ -391,7 +395,7 @@
},
{
"cell_type": "code",
"execution_count": 202,
"execution_count": null,
"id": "2ffd83fc",
"metadata": {},
"outputs": [],
Expand All @@ -409,7 +413,7 @@
},
{
"cell_type": "code",
"execution_count": 215,
"execution_count": null,
"id": "ccbfcc35",
"metadata": {},
"outputs": [],
Expand All @@ -423,7 +427,7 @@
},
{
"cell_type": "code",
"execution_count": 219,
"execution_count": null,
"id": "4a5397e8",
"metadata": {},
"outputs": [
Expand All @@ -446,7 +450,7 @@
},
{
"cell_type": "code",
"execution_count": 230,
"execution_count": null,
"id": "87291b5f",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -482,7 +486,7 @@
},
{
"cell_type": "code",
"execution_count": 231,
"execution_count": null,
"id": "b051a4c8",
"metadata": {},
"outputs": [
Expand Down
Loading