Skip to content

Commit

Permalink
start working on some ideas
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Dec 5, 2024
1 parent 6afb755 commit 27a2828
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions deep-learning-intro-for-hep/25-deepsets-and-graphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ kernelspec:
name: python3
---

# DeepSets and Graph Neural Networks (GNNs)
# Ragged data and Graph Neural Networks (GNNs)

_To be completed soon!_
+++



```{code-cell} ipython3
import numpy as np
import awkward as ak
import uproot
import torch
from torch import nn, optim
from torch_geometric.nn import aggr
```

```{code-cell} ipython3
event_data = uproot.open("data/SMHiggsToZZTo4L.root")["Events"].arrays()
```

```{code-cell} ipython3
event_data.Muon_pt
```

```{code-cell} ipython3
event_data.fields
```

0 comments on commit 27a2828

Please sign in to comment.