You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I wanted to create a batch-wise confusion matrix and sum it over using a callback, but I figured that it is not possible to create a multi-dimensional value passed as a metric after getting a little more familiar with the source code.
I think it is a very useful feature, so I wondered how to implement it.
As someone who's understanding of Keras internals is very shallow, I thought to ask for guidelines (Unless someone else would like to do it themselves)
would it be possible to implement this feature using return score_array instead of this line in _weighted_masked_objective and changing the basic metrics to do K.mean before returning?
The text was updated successfully, but these errors were encountered:
Hi,
I wanted to create a batch-wise confusion matrix and sum it over using a callback, but I figured that it is not possible to create a multi-dimensional value passed as a metric after getting a little more familiar with the source code.
I think it is a very useful feature, so I wondered how to implement it.
As someone who's understanding of Keras internals is very shallow, I thought to ask for guidelines (Unless someone else would like to do it themselves)
would it be possible to implement this feature using
return score_array
instead of this line in _weighted_masked_objective and changing the basic metrics to doK.mean
before returning?The text was updated successfully, but these errors were encountered: