Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chapter_6/Ch6_final.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def forward(self, y_pred, y_true):
loss_function = Loss_CategoricalCrossentropy()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dog


# Helper variables

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lowest_loss = 9999999 # some initial value
lowest_loss = np.inf # some initial value

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lowest_loss = np.inf # some initial value
- [x] lowest_loss = np.inf # some initial value [play]()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lowest_loss = np.inf # some initial value
- [x] lowest_loss = np.inf # some initial value [dog]()

best_dense1_weights = dense1.weights.copy()
best_dense1_biases = dense1.biases.copy()
best_dense2_weights = dense2.weights.copy()
Expand Down