Skip to content

Commit

Permalink
Changed Loss Function To Categorical Cross Entropy
Browse files Browse the repository at this point in the history
  • Loading branch information
silverlightning926 committed Jun 21, 2024
1 parent d54da26 commit f0080c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/training/_build_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def build_model():

model.compile(
optimizer=Adam(learning_rate=1e-4),
loss='binary_crossentropy',
loss='category_crossentropy',
metrics=[Accuracy(), BinaryCrossentropy(), AUC(), Precision(),
Recall(), MeanSquaredError()]
)
Expand Down

0 comments on commit f0080c5

Please sign in to comment.