mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
neural: Use mean absolute error
This commit is contained in:
parent
397340cc64
commit
83fedfe9be
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ neural <- function(preset, progress = NULL, seed = 751833, n_models = 5) {
|
|||
activation = "sigmoid"
|
||||
) |>
|
||||
keras::compile(
|
||||
loss = keras::loss_binary_crossentropy(),
|
||||
loss = keras::loss_mean_absolute_error(),
|
||||
optimizer = keras::optimizer_adam()
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue