From 802089635b4b26c17a304ffb6566b6df3215d5cd Mon Sep 17 00:00:00 2001 From: luchowww Date: Sat, 15 Jun 2024 22:59:03 -0500 Subject: [PATCH] chore: Fix typo in deep_learning4e.py --- deep_learning4e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deep_learning4e.py b/deep_learning4e.py index 9f5b0a8f7..7250751d3 100644 --- a/deep_learning4e.py +++ b/deep_learning4e.py @@ -575,7 +575,7 @@ def AutoencoderLearner(inputs, encoding_size, epochs=200, verbose=False): model.add(Dense(input_size, activation='relu', kernel_initializer='random_uniform', bias_initializer='ones')) # update model with sgd - sgd = optimizers.SGD(lr=0.01) + sgd = optimizers.SGD(learning_rate=0.01) model.compile(loss='mean_squared_error', optimizer=sgd, metrics=['accuracy']) # train the model