DLS Course 1 Week 4 L-layer Neural Network

Hi, I’m trying to run the function:

parameters, costs = L_layer_model(train_x, train_y, layers_dims, num_iterations = 1, print_cost = False)

Shouldn’t “learning_rate” be an input? It won’t let me edit the cell.

Hi @ValeryLynn I think you are referring to assignment 2 of week 4. In the function definition of L_layer_model the is the parameter learning_rate = 0.0075 which has a default value assignment. I am not sure why of your need to modify a protected line. Hope this helps

1 Like