Skip to content

Commit

Permalink
change callback default from None to []
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiaanr committed Aug 2, 2024
1 parent 26574e6 commit b8ab834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlguess/keras/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self, hidden_layers=2, hidden_neurons=64, evidential=False, activat
annealing_coeff=1.0, use_noise=False, noise_sd=0.0, lr=0.001, use_dropout=False, dropout_alpha=0.2,
batch_size=128, epochs=2, kernel_reg=None, l1_weight=0.0, l2_weight=0.0, sgd_momentum=0.9,
adam_beta_1=0.9, adam_beta_2=0.999, epsilon=1e-7, decay=0, verbose=0, random_state=1000, n_classes=2,
n_inputs=42, callbacks=None, **kwargs):
n_inputs=42, callbacks=[], **kwargs):

super().__init__(**kwargs)
self.hidden_layers = hidden_layers
Expand Down

0 comments on commit b8ab834

Please sign in to comment.