I am trying to understand why metrics in the compile isn’t reflecting mymetrics.
# Define the Metrics
mymetrics <- "mse"
#Define the Loss
myloss <- "mse"
model %>% compile(
loss = myloss,
optimizer = myoptimizer,
metrics = mymetrics
)
When I run this, it is showing that metrics is “mae” in the environment instead of “mse”. What is the appropriate way to pass the metrics as a variable to things like the compiling and plotting of a model?