22nodes_hidden_layer = 64
29model.add(
Dense(nodes_hidden_layer, activation=
'relu', kernel_regularizer=
l2(l2_val), input_dim=num_input_nodes))
33for k
in range(num_hidden_layers-1):
34 model.add(
Dense(nodes_hidden_layer, activation=
'relu', kernel_regularizer=
l2(l2_val)))
47model.compile(loss=
'categorical_crossentropy', optimizer=
SGD(learning_rate=0.01), weighted_metrics=[
'accuracy',])
60 plot_model(model, to_file=
'model.png', show_shapes=
True)
62 print(
'[INFO] Failed to make model plot')
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.