Created
May 6, 2020 02:10
-
-
Save DanielDaCosta/43eb9060fb125d748925ae080eea12a9 to your computer and use it in GitHub Desktop.
Output Binary Crossentropy Medium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output_array = [] | |
metrics_array = {} | |
loss_array = {} | |
for i, dense_layer in enumerate(output_columns_binary): | |
name = f'binary_output_{i}' | |
# A Dense Layer is created for each output | |
binary_output = Dense(1, activation='sigmoid', name=name)(x) | |
output_array.append(binary_output) | |
metrics_array[name] = 'binary_accuracy' | |
loss_array[name] = 'binary_crossentropy' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment