-
Notifications
You must be signed in to change notification settings - Fork 123
Ch.6 Update lowest_loss initialization from lowest_loss = 9999999 to lowest_loss = np.inf
#21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Ch.6 Update lowest_loss initialization from lowest_loss = 9999999 to lowest_loss = np.inf
#21
Conversation
…o `lowest_loss = np.inf`
|
|
||
| # Helper variables | ||
| lowest_loss = 9999999 # some initial value | ||
| lowest_loss = np.inf # some initial value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| lowest_loss = np.inf # some initial value | |
| - [x] lowest_loss = np.inf # some initial value [play]() |
There was a problem hiding this comment.
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]()
| # Create loss function | ||
| loss_function = Loss_CategoricalCrossentropy() | ||
|
|
||
| # Helper variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello
| activation2 = Activation_Softmax() | ||
|
|
||
| # Create loss function | ||
| loss_function = Loss_CategoricalCrossentropy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dog
| # Create loss function | ||
| loss_function = Loss_CategoricalCrossentropy() | ||
|
|
||
| # Helper variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ch.6 Update lowest_loss initialization from
lowest_loss = 9999999tolowest_loss = np.inf