Add AUC metric to model
This commit is contained in:
parent
c24f528484
commit
d0220ab1f0
|
@ -40,7 +40,7 @@ def build_model(hyperparams) -> Model:
|
||||||
model.compile(
|
model.compile(
|
||||||
optimizer=Adam(hyperparams.learning_rate),
|
optimizer=Adam(hyperparams.learning_rate),
|
||||||
loss=categorical_crossentropy,
|
loss=categorical_crossentropy,
|
||||||
metrics=["accuracy"],
|
metrics=["accuracy", "AUC"],
|
||||||
)
|
)
|
||||||
return model
|
return model
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue