|
|
| X |
| | Input Features.
|
| |
|
| Y |
| | Label Data.
|
| |
|
| Z |
| | Spectators.
|
| |
|
| len |
| | Number of events.
|
| |
|
| index_array |
| | Index array, which will be shuffled.
|
| |
|
| pointer |
| | Pointer for index array.
|
| |
Class to create batches for training the Adversary Network.
See mva/examples/keras/adversary_network.py for details.
Definition at line 54 of file B2A714-DeepContinuumSuppression_MVAModel.py.
◆ __init__()
| def __init__ |
( |
|
self, |
|
|
|
X, |
|
|
|
Y, |
|
|
|
Z |
|
) |
| |
Init the class
:param X: Input Features
:param Y: Label Data
:param Z: Spectaters/Qunatity to be uncorrelated to
Definition at line 60 of file B2A714-DeepContinuumSuppression_MVAModel.py.
60 def __init__(self, X, Y, Z):
63 :param X: Input Features
65 :param Z: Spectaters/Qunatity to be uncorrelated to
76 self.index_array = np.arange(self.len)
77 np.random.shuffle(self.index_array)
◆ next_batch()
| def next_batch |
( |
|
self, |
|
|
|
batch_size |
|
) |
| |
The documentation for this class was generated from the following file: