To compile a tf.keras model one would go:
model.compile(
optimizer='sgd',#'adam', or what not
loss='sparse_categorical_crossentropy',
metrics=['accuracy','mae']
)
What are the other metrics that can be used as the parameter value for 'metrics'? I fruitlessly tried to look for them in the documentation. I'm looking for the entire list.
Edit: I know one could use explicit form. e.g.
metrics=[tf.keras.metrics.MeanAbsoluteError()] #instead of "mae"
but the short tags are more useful later for for plotting:
lossplot = df.plot(y="mae", title="Loss vs Epochs", legend=False)
lossplot.set(xLabel="Epochs", yLabel="Loss")