i want to add macro average of F1Score to model metrics in tensorflow and watch it at each epoch
i have add F1Score from tensorflow.metrics.F1Score in the following way, my task is binary classification but it returns None average of F1Score instead of macro average
model.compile(optimizer='adam', loss="binary_crossentropy", metrics=['accuracy', tf.keras.metrics.F1Score(threshold=0.5, average="macro")])
2