Belle II Software
release-08-01-10
|
Public Member Functions | |
def | __init__ (self, train_x, train_y, valid_x, valid_y, batch_size, seed=None, epoch_random_shuffle=True) |
def | sanitize_labels (self) |
def | batch_iterator (self) |
Public Attributes | |
train_x | |
training features | |
train_y | |
training targets | |
valid_x | |
validation features | |
valid_y | |
validation targets | |
batch_size | |
batch size | |
seed | |
random generator seed | |
epoch_random_shuffle | |
bool, enables shuffling | |
train_events | |
number of training events | |
valid_events | |
number of validation events | |
feature_number | |
number of features | |
batches | |
number of batches | |
train_idx | |
indices required for shuffling | |
batch_train_x | |
np ndarray for training batch features | |
batch_train_y | |
np ndarray for training batch of targets | |
random_state | |
set random generator | |
def __init__ | ( | self, | |
train_x, | |||
train_y, | |||
valid_x, | |||
valid_y, | |||
batch_size, | |||
seed = None , |
|||
epoch_random_shuffle = True |
|||
) |
def batch_iterator | ( | self | ) |
def sanitize_labels | ( | self | ) |