Add conditional hyperedge construction #48. Adding the option Restriction in the dataset configuration file (db.yaml). Restriction takes the following values:
none (No restrictions applied)
list, for example [[0,-1,1], [0,-2,1], [1,1,1]], these integers are id defined in the Features.
Only hyperedges that satisfy one of the conditions will be used for the subsequent computing.
If id-1 represents electron, -2 represents muon, 0 represents MET, and 1 represents jet, then restriction [[0,-1,1], [0,-2,1], [1,1,1]] will prohibit non-physical cases such as a hyperedge containing two jets and one lepton.
Add conditional hyperedge construction #48. Adding the option
Restriction
in the dataset configuration file (db.yaml
).Restriction
takes the following values:none
(No restrictions applied)list
, for example[[0,-1,1], [0,-2,1], [1,1,1]]
, these integers areid
defined in theFeatures
.Only hyperedges that satisfy one of the conditions will be used for the subsequent computing.
If
id
-1
represents electron,-2
represents muon,0
represents MET, and1
represents jet, then restriction[[0,-1,1], [0,-2,1], [1,1,1]]
will prohibit non-physical cases such as a hyperedge containing two jets and one lepton.